mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-26 19:01:44 +02:00
Cosmetics: alignment and long line break.
Originally committed as revision 23559 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
1f7d2f54c5
commit
bb5cfc48f1
@ -95,7 +95,8 @@ static int h264_mp4toannexb_filter(AVBitStreamFilterContext *bsfc,
|
||||
|
||||
unit_size = AV_RB16(extradata);
|
||||
total_size += unit_size+4;
|
||||
if (total_size > INT_MAX - FF_INPUT_BUFFER_PADDING_SIZE || extradata+2+unit_size > avctx->extradata+avctx->extradata_size) {
|
||||
if (total_size > INT_MAX - FF_INPUT_BUFFER_PADDING_SIZE ||
|
||||
extradata+2+unit_size > avctx->extradata+avctx->extradata_size) {
|
||||
av_free(out);
|
||||
return AVERROR(EINVAL);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user