X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Foptions.c;fp=libavcodec%2Foptions.c;h=61689b48d94e561cf703f7cbd8ef4b05a06342af;hb=6e7e3a3820f0888ff92d6be44f40ff733bcce874;hp=6e904b61d89ca76486cba44ce16465df60fd461e;hpb=2c96e6cb955af3062e78c5b0f9fb907cfb2e59e3;p=ffmpeg diff --git a/libavcodec/options.c b/libavcodec/options.c index 6e904b61d89..61689b48d94 100644 --- a/libavcodec/options.c +++ b/libavcodec/options.c @@ -130,6 +130,7 @@ static int init_context_defaults(AVCodecContext *s, const AVCodec *codec) s->pkt_timebase = (AVRational){ 0, 1 }; s->get_buffer2 = avcodec_default_get_buffer2; s->get_format = avcodec_default_get_format; + s->get_encode_buffer = avcodec_default_get_encode_buffer; s->execute = avcodec_default_execute; s->execute2 = avcodec_default_execute2; s->sample_aspect_ratio = (AVRational){0,1};