faad needs CODEC_CAP_DELAY, otherwise you miss last frame

Originally committed as revision 20548 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Baptiste Coudurier 2009-11-18 21:01:42 +00:00
parent bd381fd3f6
commit bceae2936f

View File

@ -329,5 +329,6 @@ AVCodec libfaad_decoder = {
NULL,
faac_decode_end,
faac_decode_frame,
.capabilities = CODEC_CAP_DELAY,
.long_name = NULL_IF_CONFIG_SMALL("libfaad AAC (Advanced Audio Codec)"),
};