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
mp3dec: propagate error code correctly.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n1.1
Michael Niedermayer
13 years ago
parent
273fca9ac0
commit
7696a392e2
1 changed files
with
3 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-0
libavcodec/mpegaudiodec.c
+ 3
- 0
libavcodec/mpegaudiodec.c
View File
@@ -1616,6 +1616,9 @@ static int mp_decode_frame(MPADecodeContext *s, OUT_INT *samples,
s->last_buf_size += i;
}
if(nb_frames < 0)
return nb_frames;
/* get output buffer */
if (!samples) {
s->frame.nb_samples = s->avctx->frame_size;
Write
Preview
Loading…
Cancel
Save