aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2004-01-11 00:37:25 +0000
committerMichael Niedermayer <michaelni@gmx.at>2004-01-11 00:37:25 +0000
commitfb966f99b0f5353a6cae421f970ae227a95ed969 (patch)
treec11007e39ce4322aa8ac918d0480b3685c61284c
parent041086191fc08ab162ad6117b07a5f39639d5d9d (diff)
downloadffmpeg-fb966f99b0f5353a6cae421f970ae227a95ed969.tar.gz
ignore damaged video frames
Originally committed as revision 2692 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--ffplay.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ffplay.c b/ffplay.c
index 938d6450cd..df2fdc1b9b 100644
--- a/ffplay.c
+++ b/ffplay.c
@@ -913,8 +913,8 @@ static int video_thread(void *arg)
len1 = avcodec_decode_video(&is->video_st->codec,
frame, &got_picture,
pkt->data, pkt->size);
- if (len1 < 0)
- break;
+// if (len1 < 0)
+// break;
if (got_picture) {
if (output_picture2(is, frame, pts) < 0)
goto the_end;