avformat: Add format_whitelist
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 30 Sep 2014 21:25:39 +0000 (23:25 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 19 Oct 2014 02:37:30 +0000 (04:37 +0200)
commit057ea2a9823a6e9f95a2f8eba05e401b8636b561
tree80657296d1920754da26e00a76c179386c8609ef
parent5c8eb16769e581f828ce420373c558c190185cc1
avformat: Add format_whitelist

This allows restricting demuxers to a list of needed ones for improved security
Note, some demuxers themselfs open other demuxers, these are only restricted if
AVOptions are forwarded to them. Please check that your code does that.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/avformat.h
libavformat/options_table.h
libavformat/utils.c