diff options
author | Marton Balint <cus@passwd.hu> | 2012-04-22 02:53:29 +0200 |
---|---|---|
committer | Marton Balint <cus@passwd.hu> | 2012-05-15 00:31:55 +0200 |
commit | 89080a0a5ef6913f47265eabddfb99520f5a5e7f (patch) | |
tree | 315c38d9a8213bf80bafa68071d93d301d74d7f5 | |
parent | 4c73b3b1e07f0d91bcca33d7555ca570f2f3a394 (diff) | |
download | ffmpeg-89080a0a5ef6913f47265eabddfb99520f5a5e7f.tar.gz |
ffplay: fix video_thread when no frame is returned in get_video_frame
Affects only ffplay build with avfilter disabled.
Signed-off-by: Marton Balint <cus@passwd.hu>
-rw-r--r-- | ffplay.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1872,6 +1872,8 @@ static int video_thread(void *arg) ret = get_video_frame(is, frame, &pts_int, &pkt); pos = pkt.pos; av_free_packet(&pkt); + if (ret == 0) + continue; #endif if (ret < 0) |