diff options
Diffstat (limited to 'libavcodec/v308enc.c')
-rw-r--r-- | libavcodec/v308enc.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/v308enc.c b/libavcodec/v308enc.c index b60a72cee6..e88f1f4648 100644 --- a/libavcodec/v308enc.c +++ b/libavcodec/v308enc.c @@ -31,6 +31,9 @@ static av_cold int v308_encode_init(AVCodecContext *avctx) return AVERROR_INVALIDDATA; } + avctx->bits_per_coded_sample = 24; + avctx->bit_rate = ff_guess_coded_bitrate(avctx); + return 0; } |