Michael Niedermayer
097f668047
avformat: replace "AVPROBE_SCORE_MAX / X" by AVPROBE_SCORE_EXTENSION / Y
...
Demuxers where the changed code looked less readable where skiped
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Clément Bœsch
8bc74221f8
lavf: remove generic index flag from text subtitles.
...
This flag is not necessary.
12 years ago
Clément Bœsch
67286fa98b
10l: export ff_bprint_to_extradata between libs using avpriv_ prefix.
...
Both libavformat and libavcodec requires this function.
12 years ago
Clément Bœsch
36e61e24e7
lavc: add ff_bprint_to_extradata() helper and use it.
...
This commit also makes sure the extradata and subtitle_header are NUL
terminated, without taking into account the trailing '\0' in account in
the size.
At the same time, it should fix 'warning: dereferencing type-punned
pointer will break strict-aliasing rules' warning for compilers who
don't consider uint8_t** and char** compatibles.
12 years ago
Clément Bœsch
bad4e112a2
lavf: use ff_subtitles_queue_seek() for text subtitles demuxers.
12 years ago
Clément Bœsch
0ef28e119e
lavf/jacosubdec: fix FPE in case timeres is badly set.
13 years ago
Clément Bœsch
60715511db
lavf/jacosubdec: use subtitles queue API.
13 years ago
Clément Bœsch
303619d3ca
jacosub_probe: slightly increase the score to limit misdetection.
13 years ago
Clément Bœsch
908293d1bc
jacosub_probe: speedup by making only one call to sscanf
13 years ago
Clément Bœsch
9ae570fb5f
JACOsub demuxer, decoder and muxer.
13 years ago