[Libav-user] What decoding/encoding function return value mean I need to flush?

M N assemblerx86 at yandex.com
Sun Sep 25 04:40:27 EEST 2016

What error code for the 4 functions: avcodec_send_packet, avcodec_receive_frame, avcodec_send_frame, avcodec_receive_packet, means I should flush (End of stream situation)? And can someone put a simple example to show us how flushing is done?

Thanks in advance!

More information about the Libav-user mailing list