Browse Source

flvenc: propagate error properly

avio_flush can fail, in particular when used with the rtmp/librtmp
protocol.
tags/n0.8
Luca Barbato 14 years ago
parent
commit
0e28e9ca8f
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/flvenc.c

+ 1
- 1
libavformat/flvenc.c View File

@@ -434,7 +434,7 @@ static int flv_write_packet(AVFormatContext *s, AVPacket *pkt)

av_free(data);

return 0;
return pb->error;
}

AVOutputFormat ff_flv_muxer = {


Loading…
Cancel
Save