]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/blobdiff - libavcodec/msvideo1.c
Support 16K samplerate in Nellymoser.
[frescor/ffmpeg.git] / libavcodec / msvideo1.c
index c208d47e812b05073dfa895eb272a4d06bb6376b..78d358ed3288dff4e9b2a328c379d0ee61fad465 100644 (file)
@@ -20,7 +20,7 @@
  */
 
 /**
- * @file msvideo1.c
+ * @file libavcodec/msvideo1.c
  * Microsoft Video-1 Decoder by Mike Melanson (melanson@pcisys.net)
  * For more information about the MS Video-1 format, visit:
  *   http://www.pcisys.net/~melanson/codecs/
@@ -294,8 +294,10 @@ static void msvideo1_decode_16bit(Msvideo1Context *s)
 
 static int msvideo1_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;
     Msvideo1Context *s = avctx->priv_data;
 
     s->buf = buf;