[FFmpeg-cvslog] vc1: enable interlaced p fields again, they seem no longer to crash with out of array writes

Michael Niedermayer git at videolan.org
Tue Oct 11 13:57:13 CEST 2011


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Tue Oct 11 13:06:30 2011 +0200| [7b5c03064df522aef027490c51af8136ed5f17b3] | committer: Michael Niedermayer

vc1: enable interlaced  p fields again, they seem no longer to crash with out of array writes
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

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

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

diff --git a/libavcodec/vc1.c b/libavcodec/vc1.c
index 8d7b1c1..d715ffe 100644
--- a/libavcodec/vc1.c
+++ b/libavcodec/vc1.c
@@ -987,8 +987,6 @@ int vc1_parse_frame_header_adv(VC1Context *v, GetBitContext* gb)
         break;
     case AV_PICTURE_TYPE_P:
         if (v->field_mode) {
-            av_log(v->s.avctx, AV_LOG_ERROR, "P Fields do not work currently\n");
-            return -1;
             v->numref = get_bits1(gb);
             if (!v->numref) {
                 v->reffield          = get_bits1(gb);



More information about the ffmpeg-cvslog mailing list