Ticket #5646: debug_mpegvideo_parser.c.diff
| File debug_mpegvideo_parser.c.diff, 566 bytes (added by , 10 years ago) |
|---|
-
libavcodec/mpegvideo_parser.c
diff --git a/libavcodec/mpegvideo_parser.c b/libavcodec/mpegvideo_parser.c index 1f74bfb..7b25cfe 100644
a b static void mpegvideo_extract_headers(AVCodecParserContext *s, 158 158 if (set_dim_ret < 0) 159 159 av_log(avctx, AV_LOG_ERROR, "Failed to set dimensions\n"); 160 160 161 av_log(avctx, AV_LOG_DEBUG, "codec_id=%d, bit_rate=%d\n", avctx->codec_id, bit_rate); 161 162 if (avctx->codec_id == AV_CODEC_ID_MPEG2VIDEO && bit_rate) { 162 163 avctx->rc_max_rate = 400LL*bit_rate; 163 164 }
