1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

print obmc bug info only if avctx->debug&1

Originally committed as revision 1848 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer 2003-05-10 21:35:29 +00:00
parent 0433188259
commit 85ea6b2958

View File

@ -4374,7 +4374,8 @@ static int decode_vol_header(MpegEncContext *s, GetBitContext *gb){
}
s->progressive_sequence= get_bits1(gb)^1;
if(!get_bits1(gb)) printf("OBMC not supported (very likely buggy encoder)\n"); /* OBMC Disable */
if(!get_bits1(gb) && (s->avctx->debug & FF_DEBUG_PICT_INFO))
printf("OBMC not supported (very likely buggy encoder)\n"); /* OBMC Disable */
if (vo_ver_id == 1) {
s->vol_sprite_usage = get_bits1(gb); /* vol_sprite_usage */
} else {