The first check is done without the AVIOContext, so alloc it only if said check
succeeds
Signed-off-by: James Almer jamr...@gmail.com
---
libavformat/mpjpegdec.c | 7 +++
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/libavformat/mpjpegdec.c b/libavformat/mpjpegdec.c
index
On 08/06/15 6:23 PM, Michael Niedermayer wrote:
On Mon, Jun 08, 2015 at 05:40:55PM -0300, James Almer wrote:
The first check is done without the AVIOContext, so alloc it only if said
check succeeds
Signed-off-by: James Almer jamr...@gmail.com
---
libavformat/mpjpegdec.c | 7 +++
1
On Mon, Jun 08, 2015 at 05:40:55PM -0300, James Almer wrote:
The first check is done without the AVIOContext, so alloc it only if said
check succeeds
Signed-off-by: James Almer jamr...@gmail.com
---
libavformat/mpjpegdec.c | 7 +++
1 file changed, 3 insertions(+), 4 deletions(-)