You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
lavc/utils.c: fix code indentations
Introduced since 4b4a02b8
.
Signed-off-by: Linjie Fu <linjie.fu@intel.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
committed by
Michael Niedermayer
parent
bffb9326b6
commit
7aef2f59b5
@@ -654,12 +654,12 @@ int attribute_align_arg avcodec_open2(AVCodecContext *avctx, const AVCodec *code
|
|||||||
// only call ff_set_dimensions() for non H.264/VP6F/DXV codecs so as not to overwrite previously setup dimensions
|
// only call ff_set_dimensions() for non H.264/VP6F/DXV codecs so as not to overwrite previously setup dimensions
|
||||||
if (!(avctx->coded_width && avctx->coded_height && avctx->width && avctx->height &&
|
if (!(avctx->coded_width && avctx->coded_height && avctx->width && avctx->height &&
|
||||||
(avctx->codec_id == AV_CODEC_ID_H264 || avctx->codec_id == AV_CODEC_ID_VP6F || avctx->codec_id == AV_CODEC_ID_DXV))) {
|
(avctx->codec_id == AV_CODEC_ID_H264 || avctx->codec_id == AV_CODEC_ID_VP6F || avctx->codec_id == AV_CODEC_ID_DXV))) {
|
||||||
if (avctx->coded_width && avctx->coded_height)
|
if (avctx->coded_width && avctx->coded_height)
|
||||||
ret = ff_set_dimensions(avctx, avctx->coded_width, avctx->coded_height);
|
ret = ff_set_dimensions(avctx, avctx->coded_width, avctx->coded_height);
|
||||||
else if (avctx->width && avctx->height)
|
else if (avctx->width && avctx->height)
|
||||||
ret = ff_set_dimensions(avctx, avctx->width, avctx->height);
|
ret = ff_set_dimensions(avctx, avctx->width, avctx->height);
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
goto free_and_end;
|
goto free_and_end;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((avctx->coded_width || avctx->coded_height || avctx->width || avctx->height)
|
if ((avctx->coded_width || avctx->coded_height || avctx->width || avctx->height)
|
||||||
|
Reference in New Issue
Block a user