[FFmpeg-devel] [PATCH] avformat/concatdec: get bit_rate from internal format

Zhang Rui bbcallen at gmail.com
Tue Dec 29 07:10:52 CET 2015


---
 libavformat/concatdec.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libavformat/concatdec.c b/libavformat/concatdec.c
index d21805f..4c7217c 100644
--- a/libavformat/concatdec.c
+++ b/libavformat/concatdec.c
@@ -310,6 +310,7 @@ static int open_file(AVFormatContext *avf, unsigned fileno)
         avformat_close_input(&cat->avf);
         return ret;
     }
+    avf->bit_rate = cat->avf->bit_rate;
     cat->cur_file = file;
     if (file->start_time == AV_NOPTS_VALUE)
         file->start_time = !fileno ? 0 :
-- 
2.5.3



More information about the ffmpeg-devel mailing list