aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-04-04 04:19:43 +0200
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2012-04-04 08:38:18 +0200
commita56eaa024fcd34a886776e9ec00ca4fd51432e96 (patch)
tree4b755d4c198d5d8f8394649238d0fa8befbcdc00
parentfdc6f6507ccc6bc004ed7c3987a51ad7a4dceaaa (diff)
downloadffmpeg-a56eaa024fcd34a886776e9ec00ca4fd51432e96.tar.gz
mpeg4: dont reset picture_num for xvid
Fixes Ticket1162 Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit a4e359a3f98650dab3d2e93f067658e20fa9c0d7)
-rw-r--r--libavcodec/h263dec.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libavcodec/h263dec.c b/libavcodec/h263dec.c
index fa476d9315..6db3d39777 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