|
|
@@ -342,7 +342,7 @@ av_cold int ff_mpv_encode_init(AVCodecContext *avctx) |
|
|
|
s->rtp_mode = !!avctx->rtp_payload_size; |
|
|
|
s->intra_dc_precision = avctx->intra_dc_precision; |
|
|
|
|
|
|
|
// workaround some differences between how applications specify dc precission |
|
|
|
// workaround some differences between how applications specify dc precision |
|
|
|
if (s->intra_dc_precision < 0) { |
|
|
|
s->intra_dc_precision += 8; |
|
|
|
} else if (s->intra_dc_precision >= 8) |
|
|
|