diff options
author | Sascha Sommer | 2009-09-16 15:08:26 +0000 |
---|---|---|
committer | Sascha Sommer | 2009-09-16 15:08:26 +0000 |
commit | d859bb1db0b082644881058a12653e3207855678 (patch) | |
tree | f1472353e4ff258de5862f06c1b4ddf38019845a /libavcodec/wavpack.c | |
parent | 9d66ef18fa5504b073067691ed906bc15cfc9c87 (diff) |
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)
Originally committed as revision 19881 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/wavpack.c')
-rw-r--r-- | libavcodec/wavpack.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/wavpack.c b/libavcodec/wavpack.c index 10254f08de..95f1d7123b 100644 --- a/libavcodec/wavpack.c +++ b/libavcodec/wavpack.c @@ -964,5 +964,6 @@ AVCodec wavpack_decoder = { NULL, NULL, wavpack_decode_frame, + .capabilities = CODEC_CAP_SUBFRAMES, .long_name = NULL_IF_CONFIG_SMALL("WavPack"), }; |