X-Git-Url: https://git.piment-noir.org/?p=deb_ffmpeg.git;a=blobdiff_plain;f=ffmpeg%2Flibavformat%2Flibquvi.c;h=0a593cc9cf041c4a3516de9b8fe8e24c12a6d1c2;hp=ca71f9fd8c1b164cb00330492999c5fc3981b502;hb=f6fa7814ccfe3e76514b36cf04f5cd3cb657c8cf;hpb=2ba45a602cbfa7b771effba9b11bb4245c21bc00 diff --git a/ffmpeg/libavformat/libquvi.c b/ffmpeg/libavformat/libquvi.c index ca71f9f..0a593cc 100644 --- a/ffmpeg/libavformat/libquvi.c +++ b/ffmpeg/libavformat/libquvi.c @@ -22,6 +22,7 @@ #include "libavformat/avformat.h" #include "libavformat/internal.h" +#include "libavutil/avassert.h" #include "libavutil/opt.h" typedef struct { @@ -75,6 +76,9 @@ static int libquvi_read_header(AVFormatContext *s) if (rc != QUVI_OK) goto quvi_fail; + if ((ret = ff_copy_whitelists(qc->fmtctx, s)) < 0) + goto end; + ret = avformat_open_input(&qc->fmtctx, media_url, NULL, NULL); if (ret < 0) goto end;