[Libav-user] frame_size in AVCodecContext is zero when decoding flac
Carl Eugen Hoyos
ceffmpeg at gmail.com
Fri Dec 14 17:47:34 EET 2018
2018-12-14 15:57 GMT+01:00, drwho <drwho at infidigm.net>:
> (using libavcodec.so.57.64.101)
> It appears that the frame_size element in AVCodecContext is not
> guaranteed to be none zero either before or after decoding of the first
> frame. (it is set before decoding the first frame for mp3)
The frame size for mp3 is known, for flac it has to be determined.
Are you using the flac parser in your code?
More information about the Libav-user