Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Scheutzow <mjs973@optonline.net>2012-06-08 18:24:09 +0400
committerMichael Niedermayer <michaelni@gmx.at>2012-06-08 20:22:40 +0400
commit1be7bfdd2bc65f841391e7141ea08031c075833f (patch)
treef04b19f151ac96445d42b7fdcdd9c77dd04290c3 /ffmpeg.c
parent134d0f71197e2561851537bb8a65db0291c2089f (diff)
ffmpeg.c: fix erroneous "Output file is empty" message.
This message is printed whenever the RAWVIDEO codec is used, whether the output file contains any frames or not. Test command: ./ffmpeg -i infile.y4m outfile.y4m Signed-off-by: Mike Scheutzow <mjs973@optonline.net> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index 87c3f7a5d3..9575813bca 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -1746,6 +1746,7 @@ duplicate_frame:
pkt.flags |= AV_PKT_FLAG_KEY;
write_frame(s, &pkt, ost);
+ video_size += pkt.size;
} else {
int got_packet;
AVFrame big_picture;