Commit 0e28e9ca authored by Luca Barbato's avatar Luca Barbato
Browse files

flvenc: propagate error properly

avio_flush can fail, in particular when used with the rtmp/librtmp
parent 171ae1eb
......@@ -434,7 +434,7 @@ static int flv_write_packet(AVFormatContext *s, AVPacket *pkt)
return 0;
return pb->error;
AVOutputFormat ff_flv_muxer = {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment