comparison vc1.c @ 3692:7857ae840b0b libavcodec

Don't print header bits by default
author kostya
date Sat, 09 Sep 2006 11:29:17 +0000
parents ff18ceefe3d8
children e9be5d4bad80
comparison
equal deleted inserted replaced
3691:ff18ceefe3d8 3692:7857ae840b0b
1128 */ 1128 */
1129 static int decode_sequence_header(AVCodecContext *avctx, GetBitContext *gb) 1129 static int decode_sequence_header(AVCodecContext *avctx, GetBitContext *gb)
1130 { 1130 {
1131 VC1Context *v = avctx->priv_data; 1131 VC1Context *v = avctx->priv_data;
1132 1132
1133 av_log(avctx, AV_LOG_INFO, "Header: %0X\n", show_bits(gb, 32)); 1133 av_log(avctx, AV_LOG_DEBUG, "Header: %0X\n", show_bits(gb, 32));
1134 v->profile = get_bits(gb, 2); 1134 v->profile = get_bits(gb, 2);
1135 if (v->profile == 2) 1135 if (v->profile == 2)
1136 { 1136 {
1137 av_log(avctx, AV_LOG_ERROR, "Profile value 2 is forbidden (and WMV3 Complex Profile is unsupported)\n"); 1137 av_log(avctx, AV_LOG_ERROR, "Profile value 2 is forbidden (and WMV3 Complex Profile is unsupported)\n");
1138 return -1; 1138 return -1;