Gabriel Dume
|
4b1f5e5090
|
cosmetics: Write NULL pointer inequality checks more compactly
Signed-off-by: Diego Biurrun <diego@biurrun.de>
|
11 years ago |
Michael Niedermayer
|
fce8817a01
|
avformat/format: remove unused variable
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
11 years ago |
Anton Khirnov
|
24e87f7f42
|
Remove obsolete FF_API_PROBE_MIME cruft.
|
11 years ago |
Michael Niedermayer
|
98e42a249e
|
avformat/format: Check for av_guess_format() failure
Fixes null pointer dereference
Fixes Ticket3812
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
11 years ago |
Michael Niedermayer
|
26ffa8eaee
|
avformat/format: use av_match_name() in av_guess_codec()
Fixes part of Ticket2236
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
11 years ago |
Michael Niedermayer
|
d38edeee9b
|
avformat/format: fix memleak and error code
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
11 years ago |
Michael Niedermayer
|
4182728c78
|
avformat/format.c: remove duplicate include, put libavutil includes together
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
11 years ago |
Michael Niedermayer
|
6d69503883
|
avformat/format: simplify ifdeffery
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
11 years ago |
Michael Niedermayer
|
9694695a21
|
avformat: fix probe mime version checks
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
11 years ago |
Luca Barbato
|
3a19405d57
|
avformat: Use the mime type information in input probe
It should provide a quicker guess for elementary streams provided
by http.
|
11 years ago |
Luca Barbato
|
69e7336b8e
|
avstring: Expose the simple name match function
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
|
11 years ago |
Luca Barbato
|
e253a9e2b3
|
avformat: Move av_probe_input* to format.c
|
11 years ago |
Diego Biurrun
|
ec4f04da1a
|
avformat: Mark argument in av_{i|o}format_next/ffurl_protocol_next as const
|
11 years ago |
Michael Niedermayer
|
49f10c9cb1
|
avformat/format: av_register_output_format() and av_register_intput_format() that work in O(1) time
Reviewed-by: Stefano Sabatini
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
11 years ago |
Michael Niedermayer
|
133fbfc781
|
do O(1) instead of O(n) atomic operations in register functions
about 1ms faster startup time
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
11 years ago |
Michael Niedermayer
|
53fd1ab26b
|
avformat: make av_register_*put_format() thread safe
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
12 years ago |
Luca Barbato
|
afc8685395
|
avf: split off format register and lookup function
|
12 years ago |