[FFmpeg-devel] [PATCH V1 1/3] lavf/utils: Remove redundancy AVFMT_FLAG_CUSTOM_IO setting

Jun Zhao mypopydev at gmail.com
Mon Mar 25 10:39:03 EET 2019


From: Jun Zhao <barryjzhao at tencent.com>

After commit ba631b79, we don't need to re-setting AVFMT_FLAG_CUSTOM_IO
in init_input().

Signed-off-by: Jun Zhao <barryjzhao at tencent.com>
---
 libavformat/utils.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/libavformat/utils.c b/libavformat/utils.c
index 9b3f0d2..fe67c8f 100644
--- a/libavformat/utils.c
+++ b/libavformat/utils.c
@@ -421,7 +421,6 @@ static int init_input(AVFormatContext *s, const char *filename,
     int score = AVPROBE_SCORE_RETRY;
 
     if (s->pb) {
-        s->flags |= AVFMT_FLAG_CUSTOM_IO;
         if (!s->iformat)
             return av_probe_input_buffer2(s->pb, &s->iformat, filename,
                                          s, 0, s->format_probesize);
-- 
1.7.1



More information about the ffmpeg-devel mailing list