summaryrefslogtreecommitdiff
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-03-29 04:37:14 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-03-29 04:37:14 +0200
commit9aeacc95461750c2161ef4fecbbb3323bcd340fb (patch)
treef0fe75bcdef0a861f325ca3c99e74259e4a88894 /ffmpeg.c
parente5c3b51cd1ba5167ac224c41b905928f1bd0eb8d (diff)
ffmpeg: dont disable dr1 when changing dimensions are encountered in codec_get_buffer().
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index 173d8305ac..f26e66274e 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -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;
}