2018-12-14 17:31 GMT+01:00, drwho <[email protected]>: > On 2018-12-14 10:47 a.m., Carl Eugen Hoyos wrote: >> 2018-12-14 15:57 GMT+01:00, drwho <[email protected]>: >> >>> (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? > > I'm not sure if I am using the flac parser.
I believe you should: Input frames can have arbitrary size which breaks decoding without the parser. (Or it would just fix the issue you see and was originally for seeking, don't remember atm.) Carl Eugen _______________________________________________ Libav-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/libav-user To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
