This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
ffplay: fix return value of get_video_frame if avcodec_decode_video fails
Signed-off-by: Marton Balint <cus@passwd.hu>
tags/n1.0
Marton Balint
13 years ago
parent
7655cc395d
commit
143a5390bf
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
ffplay.c
+ 1
- 1
ffplay.c
View File
@@ -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;
Write
Preview
Loading…
Cancel
Save