h264: Fix faulty call to avpriv_request_sample
authorLuca Barbato <lu_zero@gentoo.org>
Fri, 21 Aug 2015 23:42:19 +0000 (01:42 +0200)
committerLuca Barbato <lu_zero@gentoo.org>
Fri, 21 Aug 2015 23:42:19 +0000 (01:42 +0200)
Broken in f9ab4fe1f7c1e9d410ca5ee2c9ff8d2892aad068

libavcodec/h264_sei.c

index 361d4de..ddf1b6f 100644 (file)
@@ -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);