[FFmpeg-cvslog] h264: Fix faulty call to avpriv_request_sample

Luca Barbato git at videolan.org
Mon Aug 24 10:37:11 CEST 2015


ffmpeg | branch: master | Luca Barbato <lu_zero at gentoo.org> | Sat Aug 22 01:42:19 2015 +0200| [61d8fa2a1ab76f0f3ac1442faa104ace4b29decc] | committer: Luca Barbato

h264: Fix faulty call to avpriv_request_sample

Broken in f9ab4fe1f7c1e9d410ca5ee2c9ff8d2892aad068

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

 libavcodec/h264_sei.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/h264_sei.c b/libavcodec/h264_sei.c
index 361d4de..ddf1b6f 100644
--- a/libavcodec/h264_sei.c
+++ b/libavcodec/h264_sei.c
@@ -171,7 +171,7 @@ static int decode_registered_user_data_closed_caption(H264Context *h, int size)
         }
     } else {
         int i;
-        avpriv_request_sample("Subtitles with data type 0x%02x",
+        avpriv_request_sample(h->avctx, "Subtitles with data type 0x%02x",
                               user_data_type_code);
         for (i = 0; i < size - 1; i++)
             skip_bits(&h->gb, 8);



More information about the ffmpeg-cvslog mailing list