Skip to content
Snippets Groups Projects
Commit 70ca9b76 authored by Clément Bœsch's avatar Clément Bœsch
Browse files

Merge commit '6f733eca'


* commit '6f733eca':
  mpegvideo_enc: add const to the AVCodec instance

Merged-by: default avatarClément Bœsch <u@pkh.me>
parents 81dc9b77 6f733eca
No related branches found
No related tags found
No related merge requests found
......@@ -1447,7 +1447,7 @@ static int encode_frame(AVCodecContext *c, AVFrame *frame)
static int estimate_best_b_count(MpegEncContext *s)
{
AVCodec *codec = avcodec_find_encoder(s->avctx->codec_id);
const AVCodec *codec = avcodec_find_encoder(s->avctx->codec_id);
AVCodecContext *c = avcodec_alloc_context3(NULL);
const int scale = s->brd_scale;
int i, j, out_size, p_lambda, b_lambda, lambda2;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment