Michael Niedermayer
9fea619f19
ass: assert that the timsstamps fitted in the buffers
...
Failure of the assert would cause various problems later
if we continue.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Martin Storsjö
1d9c2dc89a
Don't include common.h from avutil.h
...
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Clément Bœsch
0e7782c08e
lavc/ass: honor Default style.
...
The "Default" style written in the header is ignored unless you explicit
it in the Dialogue events (it was valid, just ignored). This requires an
update of the SubRip test since the ASS output obviously changes.
13 years ago
Lou Logan
6851130fd6
cosmetics: minor libavcodec spelling errors
...
Also update some common misspelled words in patcheck
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Clément Bœsch
d51e08bb89
lavc: switch from ts_end to duration in ff_ass_add_rect.
...
Make possible a end-to-presentation duration.
13 years ago
Clément Bœsch
7c0d30b57b
ass: use av_asprintf() instead of a temporary stack buffer.
13 years ago
Alex Converse
1a5e4fd8c5
Replace strncpy() with av_strlcpy().
14 years ago
Aurelien Jacobs
3ee8ca9b08
add avcodec_get_subtitle_defaults() to initialize AVSubtitle struct
...
Call this new function before decode() to replace the custom and
inconsistant initialization in various decoders.
This function is equivalent to avcodec_get_frame_defaults() for AVFrame.
Signed-off-by: Aurelien Jacobs <aurel@gnuage.org>
14 years ago
Mans Rullgard
2912e87a6c
Replace FFmpeg with Libav in licence headers
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Diego Elio Pettenò
cf1d794a49
Make ff_ass_subtitle_header static to ass.c
...
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
14 years ago
Aurelien Jacobs
2c77c90684
add SubRip decoder
...
Originally committed as revision 26119 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Aurelien Jacobs
4ab4d65f35
ensure the ASS string in AVSubtitleRect is 0 terminated
...
Originally committed as revision 25832 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Aurelien Jacobs
5952be07dc
add missing files in previous commit (ASS encoder and decoder)
...
Originally committed as revision 25747 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago