avformat: add format_probesize to allow tuning the maximum amount of bytes to identif...
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 27 Jan 2014 22:09:38 +0000 (23:09 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 25 May 2014 21:54:34 +0000 (23:54 +0200)
commitc37d17929590d318bc44f59d86a184e7e76def2b
tree763a92801082546e928560dad40b2235b4d0e1bd
parentb0d0e29ffbd42f9feb358718cfe6a90608b69ecf
avformat: add format_probesize to allow tuning the maximum amount of bytes to identify the filetype

Currently probesize is cliped at 1mb before being used for format detection.
Alternatively this cliping could be removed but this would then tie various
things like stream analysis to the file detection.

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