From: Michael Niedermayer <[email protected]>

This is not implemented and doesnt work.

---
This was ok'd by Mashiat in a comment at
https://github.com/mstorsjo/libav/commit/9ae5bc08fbdfed09a7428537afaf44136fb8a713#commitcomment-3204682.
---
 libavcodec/vc1dec.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/libavcodec/vc1dec.c b/libavcodec/vc1dec.c
index c434f69..994f5df 100644
--- a/libavcodec/vc1dec.c
+++ b/libavcodec/vc1dec.c
@@ -5630,7 +5630,8 @@ static int vc1_decode_frame(AVCodecContext *avctx, void 
*data,
                 get_bits_count(&s->gb), s->gb.size_in_bits);
 //  if (get_bits_count(&s->gb) > buf_size * 8)
 //      return -1;
-        ff_er_frame_end(&s->er);
+        if (!v->field_mode)
+            ff_er_frame_end(&s->er);
     }
 
     ff_MPV_frame_end(s);
-- 
1.7.9.4

_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to