Fix typo in vc1.c, make capitalization in warning/error messages more consistent.

Originally committed as revision 19203 to svn://svn.ffmpeg.org/ffmpeg/trunk
release/0.6
Jason Garrett-Glaser 16 years ago
parent 0c3b2d6586
commit 41faa87886
  1. 4
      libavcodec/vc1.c

@ -323,7 +323,7 @@ int vc1_decode_sequence_header(AVCodecContext *avctx, VC1Context *v, GetBitConte
if(v->s.loop_filter == 1 && v->profile == PROFILE_SIMPLE) if(v->s.loop_filter == 1 && v->profile == PROFILE_SIMPLE)
{ {
av_log(avctx, AV_LOG_ERROR, av_log(avctx, AV_LOG_ERROR,
"LOOPFILTER shell not be enabled in simple profile\n"); "LOOPFILTER shall not be enabled in Simple Profile\n");
} }
if(v->s.avctx->skip_loop_filter >= AVDISCARD_ALL) if(v->s.avctx->skip_loop_filter >= AVDISCARD_ALL)
v->s.loop_filter = 0; v->s.loop_filter = 0;
@ -371,7 +371,7 @@ int vc1_decode_sequence_header(AVCodecContext *avctx, VC1Context *v, GetBitConte
if (v->rangered && v->profile == PROFILE_SIMPLE) if (v->rangered && v->profile == PROFILE_SIMPLE)
{ {
av_log(avctx, AV_LOG_INFO, av_log(avctx, AV_LOG_INFO,
"RANGERED should be set to 0 in simple profile\n"); "RANGERED should be set to 0 in Simple Profile\n");
} }
v->s.max_b_frames = avctx->max_b_frames = get_bits(gb, 3); //common v->s.max_b_frames = avctx->max_b_frames = get_bits(gb, 3); //common

Loading…
Cancel
Save