summaryrefslogtreecommitdiffstats
path: root/libavcodec/utils.c
diff options
context:
space:
mode:
authorClément Bœsch <ubitux@gmail.com>2012-12-31 10:06:32 +0100
committerClément Bœsch <ubitux@gmail.com>2012-12-31 10:06:32 +0100
commite3c25860dc6e3be6582f6a8416eaaa6757611c09 (patch)
tree93836d40bbfea58f9680beb5c47a54ad438f9b5a /libavcodec/utils.c
parent9a742826443afd72c238d4920fe82cbbb0ce8007 (diff)
downloadffmpeg-streaming-e3c25860dc6e3be6582f6a8416eaaa6757611c09.zip
ffmpeg-streaming-e3c25860dc6e3be6582f6a8416eaaa6757611c09.tar.gz
lavc/utils: reindent in avcodec_decode_subtitle2().
Diffstat (limited to 'libavcodec/utils.c')
-rw-r--r--libavcodec/utils.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/libavcodec/utils.c b/libavcodec/utils.c
index 738fb29..4b6f2ed 100644
--- a/libavcodec/utils.c
+++ b/libavcodec/utils.c
@@ -1837,9 +1837,9 @@ int avcodec_decode_subtitle2(AVCodecContext *avctx, AVSubtitle *sub,
avctx->pkt = &tmp;
- if (avctx->pkt_timebase.den && avpkt->pts != AV_NOPTS_VALUE)
- sub->pts = av_rescale_q(avpkt->pts,
- avctx->pkt_timebase, AV_TIME_BASE_Q);
+ if (avctx->pkt_timebase.den && avpkt->pts != AV_NOPTS_VALUE)
+ sub->pts = av_rescale_q(avpkt->pts,
+ avctx->pkt_timebase, AV_TIME_BASE_Q);
ret = avctx->codec->decode(avctx, sub, got_sub_ptr, &tmp);
avctx->pkt = NULL;
@@ -1849,8 +1849,8 @@ int avcodec_decode_subtitle2(AVCodecContext *avctx, AVSubtitle *sub,
ret = avpkt->size;
}
- if (*got_sub_ptr)
- avctx->frame_number++;
+ if (*got_sub_ptr)
+ avctx->frame_number++;
}
return ret;
OpenPOWER on IntegriCloud