summaryrefslogtreecommitdiffstats
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-07-18 01:27:19 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-07-18 01:27:19 +0200
commit56ae5926f739bd26a5aa4add98604b7cd3c2d6ca (patch)
treebd21824c32a6018f28d2e3c2c1d810ad77a3d1c5 /ffmpeg.c
parentd4838675253513504c4e0d0ed92489b3c4e6cf8d (diff)
parent453c02f971fc7865dea396731accbcd7ab6d3728 (diff)
downloadffmpeg-streaming-56ae5926f739bd26a5aa4add98604b7cd3c2d6ca.zip
ffmpeg-streaming-56ae5926f739bd26a5aa4add98604b7cd3c2d6ca.tar.gz
Merge remote-tracking branch 'qatar/master'
* qatar/master: libopenjpeg: introduce encoding support libopenjpeg: rename decoder source file. RTMPTS protocol support RTMPS protocol support avconv: print an error message when demuxing fails. tscc2: DCT output should not be clipped rtmp: Rename rtmphttp to ffrtmphttp Conflicts: Changelog configure doc/general.texi libavcodec/libopenjpegenc.c libavcodec/version.h libavformat/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index 61840cc..03fdcbc 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -3645,6 +3645,11 @@ static int transcode(void)
continue;
}
if (ret < 0) {
+ if (ret != AVERROR_EOF) {
+ print_error(is->filename, ret);
+ if (exit_on_error)
+ exit_program(1);
+ }
input_files[file_index]->eof_reached = 1;
for (i = 0; i < input_files[file_index]->nb_streams; i++) {
OpenPOWER on IntegriCloud