]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/ws-snd1.c
Merge commit 'c9a39cec70603f662f4c326b21b11c4f0112079a'
[ffmpeg] / libavcodec / ws-snd1.c
index 82186fd17cae8303d4ec1a7d2be6dbe1e3b677e0..dfa02b69541ee8abdc2cd0dbf8db3cd7d85ae082 100644 (file)
@@ -20,6 +20,7 @@
  */
 
 #include <stdint.h>
+#include "libavutil/common.h"
 #include "libavutil/intreadwrite.h"
 #include "avcodec.h"
 
@@ -185,7 +186,7 @@ static int ws_snd_decode_frame(AVCodecContext *avctx, void *data,
 AVCodec ff_ws_snd1_decoder = {
     .name           = "ws_snd1",
     .type           = AVMEDIA_TYPE_AUDIO,
-    .id             = CODEC_ID_WESTWOOD_SND1,
+    .id             = AV_CODEC_ID_WESTWOOD_SND1,
     .priv_data_size = sizeof(WSSndContext),
     .init           = ws_snd_decode_init,
     .decode         = ws_snd_decode_frame,