]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/wmadec.c
Add ASUS V1/V2 decoder codec long names.
[ffmpeg] / libavcodec / wmadec.c
index 740f8b34ea60ffa8646a61c62ff10b472ca62c76..e622b238d6d6a8f3ad2cc28fe2fc7eb5ce82593f 100644 (file)
@@ -755,7 +755,7 @@ static int wma_decode_frame(WMACodecContext *s, int16_t *samples)
 
 static int wma_decode_superframe(AVCodecContext *avctx,
                                  void *data, int *data_size,
-                                 uint8_t *buf, int buf_size)
+                                 const uint8_t *buf, int buf_size)
 {
     WMACodecContext *s = avctx->priv_data;
     int nb_frames, bit_offset, i, pos, len;
@@ -862,6 +862,7 @@ AVCodec wmav1_decoder =
     NULL,
     ff_wma_end,
     wma_decode_superframe,
+    .long_name = "Windows Media Audio 1",
 };
 
 AVCodec wmav2_decoder =
@@ -874,4 +875,5 @@ AVCodec wmav2_decoder =
     NULL,
     ff_wma_end,
     wma_decode_superframe,
+    .long_name = "Windows Media Audio 2",
 };