]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/truemotion1.c
Doxygenate put_bits_count() documentation.
[ffmpeg] / libavcodec / truemotion1.c
index 1cf56ed3dd53da8cb76c8a074e5266aad8c3612d..303dfb5c15fc5f46716697397ba13f47d97bb0b1 100644 (file)
@@ -846,8 +846,10 @@ static void truemotion1_decode_24bit(TrueMotion1Context *s)
 
 static int truemotion1_decode_frame(AVCodecContext *avctx,
                                     void *data, int *data_size,
-                                    const uint8_t *buf, int buf_size)
+                                    AVPacket *avpkt)
 {
+    const uint8_t *buf = avpkt->data;
+    int buf_size = avpkt->size;
     TrueMotion1Context *s = avctx->priv_data;
 
     s->buf = buf;