diff options
author | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2009-03-20 01:23:33 +0000 |
---|---|---|
committer | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2009-03-20 01:23:33 +0000 |
commit | b9edbe9953d43b1bfff6ed5ffe8e615289a5d944 (patch) | |
tree | 2f4d7b10c7f9b31f384af63b0490125779d50919 /ffmpeg.c | |
parent | cf16c17a69be7f665c9d465e0ce29a1aa9d5783c (diff) | |
download | ffmpeg-b9edbe9953d43b1bfff6ed5ffe8e615289a5d944.tar.gz |
do not write ffm write index by default, detect if file is being written and return EOF
Originally committed as revision 18063 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffmpeg.c')
-rw-r--r-- | ffmpeg.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2121,7 +2121,7 @@ static int av_encode(AVFormatContext **output_files, /* read a frame from it and output it in the fifo */ is = input_files[file_index]; ret= av_read_frame(is, &pkt); - if(ret == AVERROR(EAGAIN) && strcmp(is->iformat->name, "ffm")){ + if(ret == AVERROR(EAGAIN)){ no_packet[file_index]=1; no_packet_count++; continue; |