]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/ws-snd1.c
cosmetics: reindent after last commit
[ffmpeg] / libavcodec / ws-snd1.c
index 2dc49fcefa321aa81e9ca85345995b0ca6652d1a..85e04f55d4fba4d58ad1d684459f2fc040573a15 100644 (file)
@@ -23,7 +23,7 @@
 #include "avcodec.h"
 
 /**
- * @file ws-snd.c
+ * @file libavcodec/ws-snd1.c
  * Westwood SNDx codecs.
  *
  * Reference documents about VQA format and its audio codecs
@@ -48,8 +48,10 @@ static av_cold int ws_snd_decode_init(AVCodecContext * avctx)
 
 static int ws_snd_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;
 //    WSSNDContext *c = avctx->priv_data;
 
     int in_size, out_size;