aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-04-04 04:19:43 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-04-04 04:19:43 +0200
commita4e359a3f98650dab3d2e93f067658e20fa9c0d7 (patch)
tree2fe70725c27997401c2341f02e8cfdaa4a7744ef
parent3360b8517a1f478c4102072e5eadd8ba78be0538 (diff)
downloadffmpeg-a4e359a3f98650dab3d2e93f067658e20fa9c0d7.tar.gz
mpeg4: dont reset picture_num for xvid
Fixes Ticket1162 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavcodec/h263dec.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libavcodec/h263dec.c b/libavcodec/h263dec.c
index 74d9050907..86d4112dbf 100644
--- a/libavcodec/h263dec.c
+++ b/libavcodec/h263dec.c
@@ -571,7 +571,6 @@ retry:
if (s->codec_id == CODEC_ID_MPEG4 && s->xvid_build>=0 && avctx->idct_algo == FF_IDCT_AUTO && (av_get_cpu_flags() & AV_CPU_FLAG_MMX)) {
avctx->idct_algo= FF_IDCT_XVIDMMX;
ff_dct_common_init(s);
- s->picture_number=0;
}
#endif