Commit b565602a authored by michael's avatar michael

ignore damaged video frames


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@2692 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent b4b7107b
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment