diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-06-09 20:09:51 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-06-09 20:09:56 +0200 |
commit | 94632dbb1e034f5f9870718f1320ff086889f77c (patch) | |
tree | 10a08d9386548618510e5a3fc349f5cc0d844814 | |
parent | 2138bc16fd0877b522b9e91941897e406642002c (diff) | |
parent | 143a5390bfc23675529cffcf6186f8cb2e098341 (diff) |
Merge remote-tracking branch 'cus/stable'
* cus/stable:
ffplay: fix return value of get_video_frame if avcodec_decode_video fails
Merged-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | ffplay.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1505,7 +1505,7 @@ static int get_video_frame(VideoState *is, AVFrame *frame, int64_t *pts, AVPacke } if(avcodec_decode_video2(is->video_st->codec, frame, &got_picture, pkt) < 0) - return -1; + return 0; if (got_picture) { int ret = 1; |