lavc/decode: reindent after previous commit
This commit is contained in:
parent
5acbdd2264
commit
deee00e2eb
@ -430,20 +430,20 @@ static inline int decode_simple_internal(AVCodecContext *avctx, AVFrame *frame,
|
|||||||
|
|
||||||
got_frame = 0;
|
got_frame = 0;
|
||||||
|
|
||||||
frame->pict_type = dc->initial_pict_type;
|
frame->pict_type = dc->initial_pict_type;
|
||||||
frame->flags |= dc->intra_only_flag;
|
frame->flags |= dc->intra_only_flag;
|
||||||
consumed = codec->cb.decode(avctx, frame, &got_frame, pkt);
|
consumed = codec->cb.decode(avctx, frame, &got_frame, pkt);
|
||||||
|
|
||||||
if (!(codec->caps_internal & FF_CODEC_CAP_SETS_PKT_DTS))
|
if (!(codec->caps_internal & FF_CODEC_CAP_SETS_PKT_DTS))
|
||||||
frame->pkt_dts = pkt->dts;
|
frame->pkt_dts = pkt->dts;
|
||||||
if (avctx->codec->type == AVMEDIA_TYPE_VIDEO) {
|
if (avctx->codec->type == AVMEDIA_TYPE_VIDEO) {
|
||||||
#if FF_API_FRAME_PKT
|
#if FF_API_FRAME_PKT
|
||||||
FF_DISABLE_DEPRECATION_WARNINGS
|
FF_DISABLE_DEPRECATION_WARNINGS
|
||||||
if(!avctx->has_b_frames)
|
if(!avctx->has_b_frames)
|
||||||
frame->pkt_pos = pkt->pos;
|
frame->pkt_pos = pkt->pos;
|
||||||
FF_ENABLE_DEPRECATION_WARNINGS
|
FF_ENABLE_DEPRECATION_WARNINGS
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
emms_c();
|
emms_c();
|
||||||
|
|
||||||
if (avctx->codec->type == AVMEDIA_TYPE_VIDEO) {
|
if (avctx->codec->type == AVMEDIA_TYPE_VIDEO) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user