]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/blobdiff - libavcodec/qdrw.c
Update regression tests for y4m after r18796
[frescor/ffmpeg.git] / libavcodec / qdrw.c
index 80b84a02c094359d4b1a4711f17338a25867e493..0f9609159ccfc64f41dfeefd64861b90431d31e8 100644 (file)
@@ -20,7 +20,7 @@
  */
 
 /**
- * @file qdrw.c
+ * @file libavcodec/qdrw.c
  * Apple QuickDraw codec.
  */
 
@@ -34,8 +34,10 @@ typedef struct QdrawContext{
 
 static int 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;
     QdrawContext * const a = avctx->priv_data;
     AVFrame * const p= (AVFrame*)&a->pic;
     uint8_t* outdata;