Mans Rullgard
2912e87a6c
Replace FFmpeg with Libav in licence headers
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Janne Grunau
493aa30adf
dvbsubdec: check against buffer overreads
...
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
14 years ago
Reimar Döffinger
4a72765a1c
Do not fail DVB sub decoding because of a few padding bytes
...
Instead of returning an error when bytes are left over, just return
the number of actually used bytes as other decoders do.
Instead add a special case so an error will be returned when none
of the data looks valid to avoid making debugging a pain.
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
14 years ago
Jindrich Makovicka
5bea615dc3
dvbsubdec: pass correct input buffer size
...
In some places, dvbsubdec passes improper input buffer size to
bitstream reading functions, not accounting for reading pointer
updates.
Fixed by using buffer_end - buffer pointer instead of fixed buffer length.
Signed-off-by: Jindrich Makovicka <makovick@gmail.com>
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Clément Bœsch
437fb1c87d
Remove a few if (p) av_free(p) forms
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Luca Barbato
dfd2a005eb
Replace dprintf with av_dlog
...
dprintf clashes with POSIX.1-2008
14 years ago
Diego Elio Pettenò
d36beb3f69
Add ff_ prefix to data symbols of encoders, decoders, hwaccel, parsers, bsf.
...
None of these symbols should be accessed directly, so declare them as
hidden.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Reimar Döffinger
b834becdae
Pass the composition and ancillary ID for DVB subtitles via extradata instead
...
of sub_id, this allows detecting when that information is not available and
just decode everything.
In addition extradata is required for many codecs and thus in contrast to
sub_id generally already passed on by any programs using libav*.
Also ask for a sample if we encounter a stream with multiple/changing IDs.
Originally committed as revision 24238 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reimar Döffinger
3174073623
Remove useless casts and memset.
...
Originally committed as revision 24186 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
2b4abbd6f5
Move colorspace.h from libavcodec to libavutil.
...
Avoid a compile-time dependency of the pad filter on libavcodec.
Originally committed as revision 23940 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Janne Grunau
08943c0bd1
dvbsub: parse display definition segment
...
The display definition segment is used to properly display SD DVB subtitles in
HD video streams.
Originally committed as revision 23626 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
72415b2adb
Define AVMediaType enum, and use it instead of enum CodecType, which
...
is deprecated and will be dropped at the next major bump.
Originally committed as revision 22735 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reimar Döffinger
29d7eef7dc
Always allocate a buffer of AVPALETTE_SIZE for palette in the subtitle
...
decoders instead of as small as possible.
This avoids completely unnecessary issues with e.g. libswscale.
Originally committed as revision 19673 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Diego Biurrun
8b44de14d1
Change av_log() calls surrounded by '#ifdef DEBUG' into dprintf macros.
...
Originally committed as revision 19550 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Janne Grunau
d6a1611cc2
Set subtitle type in DVB subtitle decoder.
...
Patch by Janne Grunau <j?nne-f?mpeg@jannau?net>.
Originally committed as revision 19432 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
9106a698e7
Rename bitstream.h to get_bits.h.
...
Originally committed as revision 18494 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reynaldo H. Verdejo Pinochet
8bf7a510b9
Fix wrong size computation for buffer. Patch is part of
...
netgem's changeset.
Originally committed as revision 18477 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Thilo Borgmann
7a00bbad21
Implement avcodec_decode_video2(), _audio3() and _subtitle2() which takes an
...
AVPacket argument rather than a const uint8_t *buf + int buf_size. This allows
passing of packet-specific flags from demuxer to decoder, such as the keyframe
flag, which appears necessary to playback corePNG P-frames.
Patch by Thilo Borgmann thilo.borgmann googlemail com, see also the thread
"Google Summer of Code participation" on the mailinglist.
Originally committed as revision 18351 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
406792e7b0
cosmetics: Remove pointless period after copyright statement non-sentences.
...
Originally committed as revision 16684 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
25b4c651a3
Replace AVSubtitleRect.rgba_palette and bitmap by AVPicture.
...
Originally committed as revision 16416 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
db4fac64db
Change AVSubtitle.rects to an array of pointers so ABI does not break
...
when the size of AVSubtitleRect changes.
Originally committed as revision 16412 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
fe4bf37455
Make AVCodec long_names definition conditional depending on CONFIG_SMALL.
...
Originally committed as revision 13759 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
dd72228e53
minor simplification
...
Originally committed as revision 13485 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
8403c543de
redundant
...
Originally committed as revision 13484 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Stefano Sabatini
162d4fc99d
Add long names to AVCodec declarations.
...
patch by Stefano Sabatini, stefano.sabatini-lala poste it
Originally committed as revision 13009 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Zuxy Meng
98a6fff98c
Apply 'cold' attribute to init/uninit functions in libavcodec
...
Originally committed as revision 12525 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
7993df6527
consts
...
I have underestimated this a little, and these are just some ...
Originally committed as revision 11708 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
cedb83a671
colour --> color in variable names
...
Originally committed as revision 11159 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
e59d932826
cosmetic (x==NULL -> !x)
...
Originally committed as revision 11067 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
5b2052b38f
cosmetic (place { consistently)
...
Originally committed as revision 11066 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
0dd954b1f0
cosmetic (remove != 0 / != NULL)
...
Originally committed as revision 11064 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
e1c48b7aae
use sizeof in snprintf (note the changed code is all under #if 0)
...
Originally committed as revision 11063 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
2867ed9b1c
check region depth for validity
...
(32/64/128 would crash at least due to 1<<depth allocation later,
and no i do not have a sample file)
Originally committed as revision 11062 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Alex Beregszaszi
5fc32c275e
use get_bits1(..) instead get_bits(.., 1)
...
Originally committed as revision 9999 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Ian Caulfield
04d2e45f3f
create colorspace.h and use it where appropriate
...
patch by Ian Caulfield: /ian caulfield gmail com/
Originally committed as revision 9716 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
0d02cacda9
Move dvbsubdec parser to its own file.
...
Originally committed as revision 8906 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
0c3c674cde
remove useless static cm variable
...
Originally committed as revision 8393 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Alex Beregszaszi
fead30d444
rename BE/LE_8/16/32 to AV_RL/B_8/16/32
...
Originally committed as revision 7587 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Måns Rullgård
55fde95e3b
rename cropTbl -> ff_cropTbl
...
Originally committed as revision 6992 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Steve L'Homme
949b1a13bf
Replace most of the %lld and %llx by their (cleaner) PRI*64 counterparts.
...
patch by Steve Lhomme, slhomme divxcorp com
Originally committed as revision 6868 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
b78e7197a8
Change license headers to say 'FFmpeg' instead of 'this program/this library'
...
and fix GPL/LGPL version mismatches.
Originally committed as revision 6577 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
5509bffa88
Update licensing information: The FSF changed postal address.
...
Originally committed as revision 4842 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Diego Biurrun
115329f160
COSMETICS: Remove all trailing whitespace.
...
Originally committed as revision 4749 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Ian Caulfield
bf01fb696d
subs.diff fixes a couple of minor bugs in my DVB subtitle decoder, and also fixes a few
...
problems in the DVD decoder (the palette entries were being read
back-to-front, and the timing conversions were slighly off)
patch by (Ian Caulfield: imc25, cam ac uk)
Originally committed as revision 4520 to svn://svn.ffmpeg.org/ffmpeg/trunk
20 years ago
Michael Niedermayer
c6ec28b18c
DVB subtitle decoder by (Ian Caulfield: imc25, cam ac uk)
...
Originally committed as revision 4448 to svn://svn.ffmpeg.org/ffmpeg/trunk
20 years ago