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
avcodec/shorten: fix decoding of last frame
Previously it would be always discarded. Signed-off-by: Paul B Mahol <onemda@gmail.com>
tags/n3.1
Paul B Mahol
9 years ago
parent
6936c11533
commit
966d43d778
1 changed files
with
1 additions
and
3 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-3
libavcodec/shorten.c
+ 1
- 3
libavcodec/shorten.c
View File
@@ -543,10 +543,8 @@ static int shorten_decode_frame(AVCodecContext *avctx, void *data,
s->got_quit_command = 1;
break;
}
if (cmd == FN_BLOCKSIZE || cmd == FN_QUIT) {
*got_frame_ptr = 0;
if (cmd == FN_QUIT)
break;
}
} else {
/* process audio command */
int residual_size = 0;
Write
Preview
Loading…
Cancel
Save