aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/mpegvideo.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-10-08 02:11:31 +0200
committerMichael Niedermayer <michaelni@gmx.at>2013-10-08 02:11:31 +0200
commit653cdf42ee90d11b96c364c7fe627072e33abf32 (patch)
treef4b484b0e164331d27e5156ce5087583a97b2131 /libavcodec/mpegvideo.c
parent829e43017fa733479a72e6518bb9c1f0da441dc5 (diff)
parenta9fc88ea93b2648e043a2bb863cfacabc8c3342d (diff)
downloadffmpeg-653cdf42ee90d11b96c364c7fe627072e33abf32.tar.gz
Merge remote-tracking branch 'qatar/release/9' into release/1.1
* qatar/release/9: Prepare for 9.10 RELEASE h263dec: Remove a hack that can cause infinite loops mpegvideo: Initialize chroma_*_shift and codec_tag even if the size is 0 vc1dec: Don't decode slices when the latest slice header failed to decode Conflicts: RELEASE libavcodec/h263dec.c libavcodec/mpegvideo.c libavcodec/vc1dec.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/mpegvideo.c')
-rw-r--r--libavcodec/mpegvideo.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c
index f9246f06c1..bcbda07891 100644
--- a/libavcodec/mpegvideo.c
+++ b/libavcodec/mpegvideo.c
@@ -888,7 +888,9 @@ av_cold int ff_MPV_common_init(MpegEncContext *s)
s->flags2 = s->avctx->flags2;
/* set chroma shifts */
- avcodec_get_chroma_sub_sample(s->avctx->pix_fmt, &s->chroma_x_shift, &s->chroma_y_shift);
+ avcodec_get_chroma_sub_sample(s->avctx->pix_fmt,
+ &s->chroma_x_shift,
+ &s->chroma_y_shift);
/* convert fourcc to upper case */
s->codec_tag = avpriv_toupper4(s->avctx->codec_tag);