[FFmpeg-cvslog] ffmpeg: stop using deprecated codec flags

James Almer git at videolan.org
Sun Mar 26 04:25:54 EEST 2017


ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Sat Mar 25 21:34:52 2017 -0300| [2f05d18ee2c74e4c3619bf2ef6a64f686519f3c7] | committer: James Almer

ffmpeg: stop using deprecated codec flags

Signed-off-by: James Almer <jamrial at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=2f05d18ee2c74e4c3619bf2ef6a64f686519f3c7
---

 ffmpeg.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ffmpeg.c b/ffmpeg.c
index 532db80..62e7d82 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -1541,7 +1541,7 @@ static void print_final_stats(int64_t total_size)
         }
         extra_size += ost->enc_ctx->extradata_size;
         data_size  += ost->data_size;
-        if (   (ost->enc_ctx->flags & (AV_CODEC_FLAG_PASS1 | CODEC_FLAG_PASS2))
+        if (   (ost->enc_ctx->flags & (AV_CODEC_FLAG_PASS1 | AV_CODEC_FLAG_PASS2))
             != AV_CODEC_FLAG_PASS1)
             pass1_used = 0;
     }



More information about the ffmpeg-cvslog mailing list