Commit 21e034a4 authored by Gilles Chanteperdrix's avatar Gilles Chanteperdrix Committed by Michael Niedermayer

avformat/libquvi: Fix whitelist handling

Fixes null pointer dereference
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 845ab37b
......@@ -76,6 +76,9 @@ static int libquvi_read_header(AVFormatContext *s)
if (rc != QUVI_OK)
goto quvi_fail;
if (!(qc->fmtctx = avformat_alloc_context()))
goto quvi_fail;
if ((ret = ff_copy_whitelists(qc->fmtctx, s)) < 0)
goto end;
......
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