comparison wmaprodec.c @ 10180:a514a601bf26 libavcodec

Add CODEC_CAP_SUBFRAMES for codecs that output multiple subframes per AVPacket No longer print "Multiple frames in a packet" error message when CODEC_CAP_SUBFRAMES is set (wmapro, wavpack)
author faust3
date Wed, 16 Sep 2009 15:08:26 +0000
parents 89cd870ca180
children 38ab367d4231
comparison
equal deleted inserted replaced
10179:0ac7e80ecc76 10180:a514a601bf26
1555 sizeof(WMAProDecodeCtx), 1555 sizeof(WMAProDecodeCtx),
1556 decode_init, 1556 decode_init,
1557 NULL, 1557 NULL,
1558 decode_end, 1558 decode_end,
1559 decode_packet, 1559 decode_packet,
1560 .capabilities = CODEC_CAP_SUBFRAMES,
1560 .flush= flush, 1561 .flush= flush,
1561 .long_name = NULL_IF_CONFIG_SMALL("Windows Media Audio 9 Professional"), 1562 .long_name = NULL_IF_CONFIG_SMALL("Windows Media Audio 9 Professional"),
1562 }; 1563 };