diff options
author | James Almer <jamrial@gmail.com> | 2018-02-14 00:42:04 +0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2018-02-15 02:54:20 +0300 |
commit | 23e1bf6e51106f54ab75551ccc98361b83ba55fe (patch) | |
tree | 8ce677d52fe2383b204234a5fc02f3dc5692c352 /libavcodec/smvjpegdec.c | |
parent | 3b4026e15110547892d5d770b6b43c9e34df458f (diff) |
avcodec: remove unnecessary calls to ff_init_buffer_info()
And remove the function altogether while at it. It's a duplicate of
another.
Reviewed-by: wm4 <nfxjfg@googlemail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/smvjpegdec.c')
-rw-r--r-- | libavcodec/smvjpegdec.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libavcodec/smvjpegdec.c b/libavcodec/smvjpegdec.c index 018e135b30..0b05d19f7b 100644 --- a/libavcodec/smvjpegdec.c +++ b/libavcodec/smvjpegdec.c @@ -193,7 +193,6 @@ static int smvjpeg_decode_frame(AVCodecContext *avctx, void *data, int *data_siz s->picture[1]->width = avctx->width; s->picture[1]->height = avctx->height; s->picture[1]->format = avctx->pix_fmt; - /* ff_init_buffer_info(avctx, &s->picture[1]); */ smv_img_pnt(s->picture[1]->data, mjpeg_data->data, mjpeg_data->linesize, avctx->pix_fmt, avctx->width, avctx->height, cur_frame); for (i = 0; i < AV_NUM_DATA_POINTERS; i++) |