[FFmpeg-cvslog] mpeg4: dont reset picture_num for xvid

Michael Niedermayer git at videolan.org
Wed Apr 4 09:31:52 CEST 2012


ffmpeg | branch: release/0.10 | Michael Niedermayer <michaelni at gmx.at> | Wed Apr  4 04:19:43 2012 +0200| [a56eaa024fcd34a886776e9ec00ca4fd51432e96] | committer: Carl Eugen Hoyos

mpeg4: dont reset picture_num for xvid

Fixes Ticket1162

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
(cherry picked from commit a4e359a3f98650dab3d2e93f067658e20fa9c0d7)

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=a56eaa024fcd34a886776e9ec00ca4fd51432e96
---

 libavcodec/h263dec.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/libavcodec/h263dec.c b/libavcodec/h263dec.c
index fa476d9..6db3d39 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
 



More information about the ffmpeg-cvslog mailing list