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
gsmdec: do not needlessly set *data_size to 0
tags/n0.9
Justin Ruggles
14 years ago
parent
fc43fc9faa
commit
a2e255783e
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
libavcodec/gsmdec.c
+ 1
- 1
libavcodec/gsmdec.c
View File
@@ -65,7 +65,7 @@ static int gsm_decode_frame(AVCodecContext *avctx, void *data,
av_log(avctx, AV_LOG_ERROR, "Output buffer is too small\n");
return AVERROR(EINVAL);
}
*data_size = 0;
if(buf_size < avctx->block_align)
return AVERROR_INVALIDDATA;
Write
Preview
Loading…
Cancel
Save