Commit d275408a authored by kostya's avatar kostya

free memory before return

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@6351 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent ed912e13
...@@ -459,6 +459,8 @@ static int ls_decode_picture(MJpegDecodeContext *s, int near, int point_transfor ...@@ -459,6 +459,8 @@ static int ls_decode_picture(MJpegDecodeContext *s, int near, int point_transfor
} }
} else if(ilv == 2) { /* sample interleaving */ } else if(ilv == 2) { /* sample interleaving */
av_log(s->avctx, AV_LOG_ERROR, "Sample interleaved images are not supported.\n"); av_log(s->avctx, AV_LOG_ERROR, "Sample interleaved images are not supported.\n");
av_free(state);
av_free(zero);
return -1; return -1;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment