diff mbox series

[FFmpeg-devel,01/11] avformat/evcdec: set the demuxer as AVFMT_NOTIMESTAMPS

Message ID 20230615151836.50535-1-jamrial@gmail.com
State Accepted
Commit a734fa92c8bc39f0792c8da8aecaa145599808bd
Headers show
Series [FFmpeg-devel,01/11] avformat/evcdec: set the demuxer as AVFMT_NOTIMESTAMPS | expand

Checks

Context Check Description
yinshiyou/make_loongarch64 success Make finished
yinshiyou/make_fate_loongarch64 success Make fate finished
andriy/make_x86 success Make finished
andriy/make_fate_x86 success Make fate finished

Commit Message

James Almer June 15, 2023, 3:18 p.m. UTC
Signed-off-by: James Almer <jamrial@gmail.com>
---
 libavformat/evcdec.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

James Almer June 16, 2023, 6:07 p.m. UTC | #1
On 6/15/2023 12:18 PM, James Almer wrote:
> Signed-off-by: James Almer <jamrial@gmail.com>
> ---
>   libavformat/evcdec.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/libavformat/evcdec.c b/libavformat/evcdec.c
> index 89eda0f53e..807406885a 100644
> --- a/libavformat/evcdec.c
> +++ b/libavformat/evcdec.c
> @@ -268,7 +268,7 @@ const AVInputFormat ff_evc_demuxer = {
>       .read_packet    = evc_read_packet, // annexb_read_packet
>       .read_close     = evc_read_close,
>       .extensions     = "evc",
> -    .flags          = AVFMT_GENERIC_INDEX,
> +    .flags          = AVFMT_GENERIC_INDEX | AVFMT_NOTIMESTAMPS,
>       .flags_internal = FF_FMT_INIT_CLEANUP,
>       .raw_codec_id   = AV_CODEC_ID_EVC,
>       .priv_data_size = sizeof(EVCDemuxContext),

I'll apply the rest of this set soon.
diff mbox series

Patch

diff --git a/libavformat/evcdec.c b/libavformat/evcdec.c
index 89eda0f53e..807406885a 100644
--- a/libavformat/evcdec.c
+++ b/libavformat/evcdec.c
@@ -268,7 +268,7 @@  const AVInputFormat ff_evc_demuxer = {
     .read_packet    = evc_read_packet, // annexb_read_packet
     .read_close     = evc_read_close,
     .extensions     = "evc",
-    .flags          = AVFMT_GENERIC_INDEX,
+    .flags          = AVFMT_GENERIC_INDEX | AVFMT_NOTIMESTAMPS,
     .flags_internal = FF_FMT_INIT_CLEANUP,
     .raw_codec_id   = AV_CODEC_ID_EVC,
     .priv_data_size = sizeof(EVCDemuxContext),