Commit 9aeacc95 authored by Michael Niedermayer's avatar Michael Niedermayer

ffmpeg: dont disable dr1 when changing dimensions are encountered in codec_get_buffer().

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent e5c3b51c
......@@ -565,7 +565,6 @@ static int codec_get_buffer(AVCodecContext *s, AVFrame *frame)
if (buf->w != s->width || buf->h != s->height || buf->pix_fmt != s->pix_fmt) {
av_freep(&buf->base[0]);
av_free(buf);
ist->dr1 = 0;
if ((ret = alloc_buffer(ist, s, &buf)) < 0)
return ret;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment