mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-02-27 01:01:07 +00: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);
|
unit_size = AV_RB16(extradata);
|
||||||
total_size += unit_size+4;
|
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);
|
av_free(out);
|
||||||
return AVERROR(EINVAL);
|
return AVERROR(EINVAL);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user