[libav-devel] [PATCH] h264: Fix faulty call to avpriv_request_sample

Luca Barbato lu_zero at gentoo.org
Sat Aug 22 01:43:07 CEST 2015


Broken in f9ab4fe1f7c1e9d410ca5ee2c9ff8d2892aad068
---

Sorry.

 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);
--
2.5.0



More information about the libav-devel mailing list