[FFmpeg-cvslog] vc1: disable parts of the interlaced code due to security issues.
Michael Niedermayer
git at videolan.org
Tue Oct 11 03:52:36 CEST 2011
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Tue Oct 11 03:42:51 2011 +0200| [1e4d60353cdb50619bc39d78f84afe961d013fae] | committer: Michael Niedermayer
vc1: disable parts of the interlaced code due to security issues.
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=1e4d60353cdb50619bc39d78f84afe961d013fae
---
libavcodec/vc1.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/libavcodec/vc1.c b/libavcodec/vc1.c
index bc7489d..9e3ad4d 100644
--- a/libavcodec/vc1.c
+++ b/libavcodec/vc1.c
@@ -985,6 +985,8 @@ 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);
@@ -1157,6 +1159,8 @@ int vc1_parse_frame_header_adv(VC1Context *v, GetBitContext* gb)
if (v->field_mode) {
int mvmode;
+ av_log(v->s.avctx, AV_LOG_ERROR, "B Fields do not work currently\n");
+ return -1;
if (v->extended_dmv)
v->dmvrange = get_unary(gb, 0, 3);
mvmode = get_unary(gb, 1, 3);
More information about the ffmpeg-cvslog
mailing list