amfenc: Add DXVA2 hardware frame input support
[ffmpeg.git] / libavcodec / ws-snd1.c
index d27df75..0f00580 100644 (file)
@@ -172,10 +172,10 @@ static int ws_snd_decode_frame(AVCodecContext *avctx, void *data,
 
 AVCodec ff_ws_snd1_decoder = {
     .name           = "ws_snd1",
+    .long_name      = NULL_IF_CONFIG_SMALL("Westwood Audio (SND1)"),
     .type           = AVMEDIA_TYPE_AUDIO,
     .id             = AV_CODEC_ID_WESTWOOD_SND1,
     .init           = ws_snd_decode_init,
     .decode         = ws_snd_decode_frame,
-    .capabilities   = CODEC_CAP_DR1,
-    .long_name      = NULL_IF_CONFIG_SMALL("Westwood Audio (SND1)"),
+    .capabilities   = AV_CODEC_CAP_DR1,
 };