diff mbox

[FFmpeg-devel,6/6] avcodec/mjpegdec: use av_stereo3d_alloc2()

Message ID 20161211033308.8592-6-jamrial@gmail.com
State New
Headers show

Commit Message

James Almer Dec. 11, 2016, 3:33 a.m. UTC
Signed-off-by: James Almer <jamrial@gmail.com>
---
 libavcodec/mjpegdec.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Michael Niedermayer Dec. 12, 2016, 2:46 a.m. UTC | #1
On Sun, Dec 11, 2016 at 12:33:08AM -0300, James Almer wrote:
> Signed-off-by: James Almer <jamrial@gmail.com>
> ---
>  libavcodec/mjpegdec.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

LGTM

thx

[...]
diff mbox

Patch

diff --git a/libavcodec/mjpegdec.c b/libavcodec/mjpegdec.c
index 742e07c..b0a6e00 100644
--- a/libavcodec/mjpegdec.c
+++ b/libavcodec/mjpegdec.c
@@ -1783,7 +1783,7 @@  static int mjpeg_decode_app(MJpegDecodeContext *s)
         type   = get_bits(&s->gb, 8);
         len -= 4;
 
-        s->stereo3d = av_stereo3d_alloc();
+        s->stereo3d = av_stereo3d_alloc2(NULL);
         if (!s->stereo3d) {
             goto out;
         }