diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2004-04-30 17:42:58 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2004-04-30 17:42:58 +0000 |
commit | eea8c08fa82791378bd33769992a7435409394b7 (patch) | |
tree | 856b7010b12a81933b870227904c037b113313d7 /libavcodec/mjpeg.c | |
parent | 60f41d13efd52488f9dc91edd047bb909d6a53c7 (diff) | |
download | ffmpeg-eea8c08fa82791378bd33769992a7435409394b7.tar.gz |
cleanup & memleak fix
Originally committed as revision 3095 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/mjpeg.c')
-rw-r--r-- | libavcodec/mjpeg.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libavcodec/mjpeg.c b/libavcodec/mjpeg.c index 255a82d2cb..78a620fd3c 100644 --- a/libavcodec/mjpeg.c +++ b/libavcodec/mjpeg.c @@ -1340,7 +1340,7 @@ static int mjpeg_decode_scan(MJpegDecodeContext *s){ (h * mb_x + x) * 8; if (s->interlaced && s->bottom_field) ptr += s->linesize[c] >> 1; -//printf("%d %d %d %d %d %d %d %d \n", mb_x, mb_y, x, y, c, s->bottom_field, (v * mb_y + y) * 8, (h * mb_x + x) * 8); +//av_log(NULL, AV_LOG_DEBUG, "%d %d %d %d %d %d %d %d \n", mb_x, mb_y, x, y, c, s->bottom_field, (v * mb_y + y) * 8, (h * mb_x + x) * 8); s->idct_put(ptr, s->linesize[c], s->block); if (++x == h) { x = 0; @@ -2171,7 +2171,6 @@ static int mjpeg_decode_end(AVCodecContext *avctx) av_free(s->buffer); av_free(s->qscale_table); - avcodec_default_free_buffers(avctx); for(i=0;i<2;i++) { for(j=0;j<4;j++) |