]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/ws-snd1.c
decode: flush the internal bsfs instead of constantly reinitalizing them
[ffmpeg] / libavcodec / ws-snd1.c
index 14a93354efe22a8c6778d0da868ad4cf52f9adbf..11b7289185f40f03983fd80d86a4a08195b1d03a 100644 (file)
@@ -174,10 +174,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,
 };