[FFmpeg-cvslog] ffmpeg: dont disable dr1 when changing dimensions are encountered in codec_get_buffer ().

Michael Niedermayer git at videolan.org
Thu Mar 29 04:57:51 CEST 2012


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Thu Mar 29 04:37:14 2012 +0200| [9aeacc95461750c2161ef4fecbbb3323bcd340fb] | committer: Michael Niedermayer

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

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=9aeacc95461750c2161ef4fecbbb3323bcd340fb
---

 ffmpeg.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/ffmpeg.c b/ffmpeg.c
index 173d830..f26e662 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;
     }



More information about the ffmpeg-cvslog mailing list