[FFmpeg-cvslog] r16515 - trunk/libavcodec/vc1.c
cehoyos
subversion
Sat Jan 10 10:55:56 CET 2009
Author: cehoyos
Date: Sat Jan 10 10:55:55 2009
New Revision: 16515
Log:
Fill range_map* in VC1Context.
Modified:
trunk/libavcodec/vc1.c
Modified: trunk/libavcodec/vc1.c
==============================================================================
--- trunk/libavcodec/vc1.c Sat Jan 10 10:53:21 2009 (r16514)
+++ trunk/libavcodec/vc1.c Sat Jan 10 10:55:55 2009 (r16515)
@@ -1086,13 +1086,13 @@ static int decode_entry_point(AVCodecCon
}
if(v->extended_mv)
v->extended_dmv = get_bits1(gb);
- if(get_bits1(gb)) {
+ if((v->range_mapy_flag = get_bits1(gb))) {
av_log(avctx, AV_LOG_ERROR, "Luma scaling is not supported, expect wrong picture\n");
- skip_bits(gb, 3); // Y range, ignored for now
+ v->range_mapy = get_bits(gb, 3);
}
- if(get_bits1(gb)) {
+ if((v->range_mapuv_flag = get_bits1(gb))) {
av_log(avctx, AV_LOG_ERROR, "Chroma scaling is not supported, expect wrong picture\n");
- skip_bits(gb, 3); // UV range, ignored for now
+ v->range_mapuv = get_bits(gb, 3);
}
av_log(avctx, AV_LOG_DEBUG, "Entry point info:\n"
More information about the ffmpeg-cvslog
mailing list