]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/log
frescor/ffmpeg.git
15 years agoMake v4l2_read_header() don't free a stream in case of failure when
stefano [Tue, 15 Jul 2008 20:45:42 +0000 (20:45 +0000)]
Make v4l2_read_header() don't free a stream in case of failure when
reading its header. The stream will be freed later in
av_open_input_stream(). Fix a segmentation fault due to a double free
on the same pointer.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14247 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoMake v4l_read_header() don't free a stream in case of failure when
stefano [Tue, 15 Jul 2008 20:39:20 +0000 (20:39 +0000)]
Make v4l_read_header() don't free a stream in case of failure when
reading its header. The stream will be freed later in
av_open_input_stream(). Fix a segmentation fault due to a double free
on the same pointer.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14246 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoARM: optimised MAC64 and MLS64
mru [Tue, 15 Jul 2008 19:06:32 +0000 (19:06 +0000)]
ARM: optimised MAC64 and MLS64

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14245 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoARM: optimised MUL64
mru [Tue, 15 Jul 2008 19:06:29 +0000 (19:06 +0000)]
ARM: optimised MUL64

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14244 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoARM: ARMv6 optimised MULH
mru [Tue, 15 Jul 2008 19:06:25 +0000 (19:06 +0000)]
ARM: ARMv6 optimised MULH

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14243 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoARM: ARMv6 optimised FASTDIV
mru [Tue, 15 Jul 2008 19:06:18 +0000 (19:06 +0000)]
ARM: ARMv6 optimised FASTDIV

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14242 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoARM: disable use of system byteswap.h
mru [Tue, 15 Jul 2008 19:06:09 +0000 (19:06 +0000)]
ARM: disable use of system byteswap.h

Our bswap functions are better than those in glibc, which has
no ARM-optimised versions.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14241 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoARM: fix ARCH_ARM -> ARCH_ARMV4L test in bswap_32()
mru [Tue, 15 Jul 2008 19:06:03 +0000 (19:06 +0000)]
ARM: fix ARCH_ARM -> ARCH_ARMV4L test in bswap_32()

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14240 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoARM: ARMv6 optimised bswap_16/32
mru [Tue, 15 Jul 2008 19:05:49 +0000 (19:05 +0000)]
ARM: ARMv6 optimised bswap_16/32

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14239 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoRemove dead code in bitstream.h
mru [Tue, 15 Jul 2008 18:43:26 +0000 (18:43 +0000)]
Remove dead code in bitstream.h

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14238 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoPrint the address of the AVCodecContext in av_log().
astrange [Tue, 15 Jul 2008 17:17:35 +0000 (17:17 +0000)]
Print the address of the AVCodecContext in av_log().
This makes debug output much easier to read when the
same codec is open more than once.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14237 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years ago10l, float_to_int16_interleave_sse/3dnow wrote the wrong samples
lorenm [Tue, 15 Jul 2008 04:11:30 +0000 (04:11 +0000)]
10l, float_to_int16_interleave_sse/3dnow wrote the wrong samples

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14236 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoMake flic probe check a few more things.
michael [Mon, 14 Jul 2008 22:55:07 +0000 (22:55 +0000)]
Make flic probe check a few more things.
fixes issue399

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14235 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoMove the codec_id overriding at a slightly better place.
michael [Mon, 14 Jul 2008 20:31:17 +0000 (20:31 +0000)]
Move the codec_id overriding at a slightly better place.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14234 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoH264: fix index range assert() in remove_short_at_index()
mru [Mon, 14 Jul 2008 19:17:13 +0000 (19:17 +0000)]
H264: fix index range assert() in remove_short_at_index()

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14233 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoRemove common factors from timebase in av_set_pts_info().
michael [Mon, 14 Jul 2008 19:11:09 +0000 (19:11 +0000)]
Remove common factors from timebase in av_set_pts_info().
Should fix issue313

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14232 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoFix infinite loop at EOF.
michael [Mon, 14 Jul 2008 16:18:29 +0000 (16:18 +0000)]
Fix infinite loop at EOF.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14231 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoRevert r14218. FFMAX is a macro, so
vitor [Mon, 14 Jul 2008 14:41:01 +0000 (14:41 +0000)]
Revert r14218. FFMAX is a macro, so
   sum = FFMAX(1, scalar_product(...));
might calculate the scalar product twice, what is
slower.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14230 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoonly animated gif (gifdec.c) was removed)
compn [Mon, 14 Jul 2008 12:08:48 +0000 (12:08 +0000)]
only animated gif (gifdec.c) was removed)

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14229 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agogifdec.c was removed, purge its entry from the Makefile.
diego [Mon, 14 Jul 2008 08:55:07 +0000 (08:55 +0000)]
gifdec.c was removed, purge its entry from the Makefile.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14228 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoFix decoding of 320x240.ogg.
michael [Sun, 13 Jul 2008 23:34:29 +0000 (23:34 +0000)]
Fix decoding of 320x240.ogg.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14227 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years ago-itsscale to scale timestamps
michael [Sun, 13 Jul 2008 22:55:52 +0000 (22:55 +0000)]
-itsscale to scale timestamps
fixes issue511

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14226 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoremoved gif decoder in r14209
compn [Sun, 13 Jul 2008 22:21:25 +0000 (22:21 +0000)]
removed gif decoder in r14209

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14225 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoDrop silly initialization, fixes compilation with -std=gnu99.
diego [Sun, 13 Jul 2008 21:59:58 +0000 (21:59 +0000)]
Drop silly initialization, fixes compilation with -std=gnu99.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14224 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoMake our flac decoder decode all the data at EOF.
michael [Sun, 13 Jul 2008 21:51:29 +0000 (21:51 +0000)]
Make our flac decoder decode all the data at EOF.
Fixes issue524

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14223 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agotools/trasher: Don't mix srand/rand and srandom/random interface.
diego [Sun, 13 Jul 2008 21:44:00 +0000 (21:44 +0000)]
tools/trasher: Don't mix srand/rand and srandom/random interface.
patch by matthieu castet, castet.matthieu free fr

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14222 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agostrdup() the default value for rc_eq in AVCodec when setting it in
stefano [Sun, 13 Jul 2008 21:44:00 +0000 (21:44 +0000)]
strdup() the default value for rc_eq in AVCodec when setting it in
avcodec_get_context_defaults(). The value has to be alloced dinamically
rather than statically since it may be freed for example by
av_set_string2(). Fix a segmentation fault.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14221 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoOn EOF keep calling the decoders until they do not output anything
michael [Sun, 13 Jul 2008 21:39:18 +0000 (21:39 +0000)]
On EOF keep calling the decoders until they do not output anything
anymore, instead of just once.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14220 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoFix the logic to access the location of a string to free when
stefano [Sun, 13 Jul 2008 21:28:17 +0000 (21:28 +0000)]
Fix the logic to access the location of a string to free when
setting a new value for a string with av_set_string2().
Fix a segmentation fault.
M    opt.c

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14219 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoSimplify
vitor [Sun, 13 Jul 2008 20:41:09 +0000 (20:41 +0000)]
Simplify

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14218 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoAnother av_clipf() usage
vitor [Sun, 13 Jul 2008 20:39:55 +0000 (20:39 +0000)]
Another av_clipf() usage

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14217 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoDo not declare as double a var that only stores a float
vitor [Sun, 13 Jul 2008 20:38:42 +0000 (20:38 +0000)]
Do not declare as double a var that only stores a float

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14216 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoSimplify: use FFMAX
vitor [Sun, 13 Jul 2008 20:36:32 +0000 (20:36 +0000)]
Simplify: use FFMAX

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14215 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agocheck that csize in ff_lzw_decode_init is < LZW_MAXBITS, <= is not enough and
reimar [Sun, 13 Jul 2008 20:03:57 +0000 (20:03 +0000)]
check that csize in ff_lzw_decode_init is < LZW_MAXBITS, <= is not enough and
might read outside the prefix array

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14214 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoAdd av_clipf() function to common.h and use it in ra288.c
vitor [Sun, 13 Jul 2008 19:59:44 +0000 (19:59 +0000)]
Add av_clipf() function to common.h and use it in ra288.c

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14213 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agodvdsubdec: allow compilation with -DDEBUG
mru [Sun, 13 Jul 2008 19:41:13 +0000 (19:41 +0000)]
dvdsubdec: allow compilation with -DDEBUG

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14212 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoRTP: use dprintf(), allow compilation with -DDEBUG
mru [Sun, 13 Jul 2008 19:41:10 +0000 (19:41 +0000)]
RTP: use dprintf(), allow compilation with -DDEBUG

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14211 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoASF: use dprintf(), allow compilation with -DDEBUG
mru [Sun, 13 Jul 2008 19:41:07 +0000 (19:41 +0000)]
ASF: use dprintf(), allow compilation with -DDEBUG

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14210 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoRemove gif demuxer, the code contains a gif decoder and lzw decoder neither
michael [Sun, 13 Jul 2008 18:47:24 +0000 (18:47 +0000)]
Remove gif demuxer, the code contains a gif decoder and lzw decoder neither
belongs in a demuxer, furthermore the code might be exploitable.
Fixes issue530

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14209 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoUse -vsync 0 unless the user explicitly asked for something
michael [Sun, 13 Jul 2008 16:19:23 +0000 (16:19 +0000)]
Use -vsync 0  unless the user explicitly asked for something
else when the framerate is above 1000.
Fixes issue259.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14208 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoexploit mdct symmetry
lorenm [Sun, 13 Jul 2008 15:03:58 +0000 (15:03 +0000)]
exploit mdct symmetry
2% faster vorbis on conroe, k8. 7% on celeron.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14207 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agomlpdec: Check for bits left before each read of End-of-Stream indicator and
ramiro [Sun, 13 Jul 2008 14:59:39 +0000 (14:59 +0000)]
mlpdec: Check for bits left before each read of End-of-Stream indicator and
Substream parity check independently. This allows decoding of streams that
have EOS but don't have Substream parity check.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14206 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agosimplify vorbis windowing
lorenm [Sun, 13 Jul 2008 14:56:01 +0000 (14:56 +0000)]
simplify vorbis windowing

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14205 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agobitstream: move put_sbits() from flacenc.c to bitstream.h and use it
ramiro [Sun, 13 Jul 2008 14:27:48 +0000 (14:27 +0000)]
bitstream: move put_sbits() from flacenc.c to bitstream.h and use it
throughout libavcodec.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14204 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoclip MS ADPCM predictor range to correct [0..6] range, not [0..7]
reimar [Sun, 13 Jul 2008 14:25:31 +0000 (14:25 +0000)]
clip MS ADPCM predictor range to correct [0..6] range, not [0..7]

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14203 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoUse bytestream and AV_RL* functions in ADPCM code where possible
reimar [Sun, 13 Jul 2008 14:12:51 +0000 (14:12 +0000)]
Use bytestream and AV_RL* functions in ADPCM code where possible

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14202 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoFix MS ADPCM de- and encoding: first and second sample are swapped.
reimar [Sun, 13 Jul 2008 14:08:28 +0000 (14:08 +0000)]
Fix MS ADPCM de- and encoding: first and second sample are swapped.
Noticeable better decoding of e.g. http://samples.mplayerhq.hu/A-codecs/msadpcm-stereo/dance-b5th.asf

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14201 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoAdd parisc* to the list of architectures requiring PIC flags for shared libs.
diego [Sun, 13 Jul 2008 12:40:11 +0000 (12:40 +0000)]
Add parisc* to the list of architectures requiring PIC flags for shared libs.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14200 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agompegaudio: use MAC/MLS macros in ff_mpa_synth_filter
mru [Sun, 13 Jul 2008 12:23:02 +0000 (12:23 +0000)]
mpegaudio: use MAC/MLS macros in ff_mpa_synth_filter

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14199 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agomathops: add MAC64, MLS64, and MLS16
mru [Sun, 13 Jul 2008 12:22:57 +0000 (12:22 +0000)]
mathops: add MAC64, MLS64, and MLS16
MAC64: 64 += 32 x 32 (bits)
MLS64: 64 -= 32 x 32
MLS16: 32 -= 16 x 16

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14198 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoBitstream: use AV_RB16() in LIBMPEG2_BITSTREAM_READER
mru [Sun, 13 Jul 2008 00:07:43 +0000 (00:07 +0000)]
Bitstream: use AV_RB16() in LIBMPEG2_BITSTREAM_READER

This makes LIBMPEG2_BITSTREAM_READER_HACK redundant, so remove it.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14197 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoUse CODEC_ID_PROBE when the mpeg-ps demuxer does not know exactly which
michael [Sat, 12 Jul 2008 22:17:13 +0000 (22:17 +0000)]
Use CODEC_ID_PROBE when the mpeg-ps demuxer does not know exactly which
video codec is used.
Fixes issue49 Departed Trailer.evo (mpeg ps missdetecting h264 as mpeg2video)

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14196 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoconfigure: simplify negative dependencies
mru [Sat, 12 Jul 2008 20:55:07 +0000 (20:55 +0000)]
configure: simplify negative dependencies

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14195 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoconfigure: allow !foo as argument to enabled/disabled and *_deps lists
mru [Sat, 12 Jul 2008 20:55:04 +0000 (20:55 +0000)]
configure: allow !foo as argument to enabled/disabled and *_deps lists

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14194 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoRemove old hackish codec probe system.
michael [Sat, 12 Jul 2008 20:40:47 +0000 (20:40 +0000)]
Remove old hackish codec probe system.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14193 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoFix pts handling when encoding with libschroedinger, closes issue 453.
diego [Sat, 12 Jul 2008 20:12:18 +0000 (20:12 +0000)]
Fix pts handling when encoding with libschroedinger, closes issue 453.
patch by Anuradha Suraparaju, anuradha rd.bbc.co uk

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14192 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoFix pts handling when encoding with libdirac.
diego [Sat, 12 Jul 2008 20:09:50 +0000 (20:09 +0000)]
Fix pts handling when encoding with libdirac.
patch by Anuradha Suraparaju, anuradha rd.bbc.co uk

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14191 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoUse strcmp() instead of strncmp() in set_codec_from_probe_data().
michael [Sat, 12 Jul 2008 20:01:23 +0000 (20:01 +0000)]
Use strcmp() instead of strncmp() in set_codec_from_probe_data().

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14190 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoindent
michael [Sat, 12 Jul 2008 19:57:57 +0000 (19:57 +0000)]
indent

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14189 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoOnly try to probe the codec when the available data has roughly doubled
michael [Sat, 12 Jul 2008 19:57:30 +0000 (19:57 +0000)]
Only try to probe the codec when the available data has roughly doubled
relative to the last attempt.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14188 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoAdd mpegvideo and H.264 to the codec probe.
michael [Sat, 12 Jul 2008 19:56:25 +0000 (19:56 +0000)]
Add mpegvideo and H.264 to the codec probe.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14187 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoh264_probe()
michael [Sat, 12 Jul 2008 19:50:48 +0000 (19:50 +0000)]
h264_probe()

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14186 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoindent
michael [Sat, 12 Jul 2008 18:43:02 +0000 (18:43 +0000)]
indent

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14185 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoNew codec probing system try #1.
michael [Sat, 12 Jul 2008 18:42:00 +0000 (18:42 +0000)]
New codec probing system try #1.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14184 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agocommand_streams are type data not unknown.
michael [Sat, 12 Jul 2008 16:43:46 +0000 (16:43 +0000)]
command_streams are type data not unknown.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14183 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoUse new style static VLC tables for IMC decoder.
reimar [Sat, 12 Jul 2008 15:02:40 +0000 (15:02 +0000)]
Use new style static VLC tables for IMC decoder.
Also fixes a memleak due to the previous in-context tables not being freed.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14182 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoMove add_to_pktbuf() before av_read_packet(). My future work on codec identification
michael [Sat, 12 Jul 2008 14:28:27 +0000 (14:28 +0000)]
Move add_to_pktbuf() before av_read_packet(). My future work on codec identification
cleanup will need this.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14181 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoMove set_codec_from_probe_data() up to where the other probe functions are.
michael [Sat, 12 Jul 2008 13:25:26 +0000 (13:25 +0000)]
Move set_codec_from_probe_data() up to where the other probe functions are.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14180 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoPass AVPacketList instead of the whole context to add_to_pktbuf. As thats
michael [Sat, 12 Jul 2008 13:15:00 +0000 (13:15 +0000)]
Pass AVPacketList instead of the whole context to add_to_pktbuf. As thats
all that is needed.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14179 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoPrevent users from setting -vol and -acodec copy together.
ramiro [Sat, 12 Jul 2008 11:43:21 +0000 (11:43 +0000)]
Prevent users from setting -vol and -acodec copy together.
They are incompatible since the frames are not decoded, so they can't be preprocessed.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14178 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoTypo and grammar fix
superdump [Sat, 12 Jul 2008 10:56:12 +0000 (10:56 +0000)]
Typo and grammar fix

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14177 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoCorrect a couple of typos
superdump [Sat, 12 Jul 2008 09:48:19 +0000 (09:48 +0000)]
Correct a couple of typos

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14176 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years ago100l, fix MS ADPCM decoding for e.g. http://samples.mplayerhq.hu/mov/qtaudio/surge...
reimar [Sat, 12 Jul 2008 09:23:37 +0000 (09:23 +0000)]
100l, fix MS ADPCM decoding for e.g. http://samples.mplayerhq.hu/mov/qtaudio/surge-2-16-L-ms02.mov
First coefficient array must be unsigned to fit in 8 bits

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14175 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years ago10l, forgot to replace a / 256 for r14173.
reimar [Sat, 12 Jul 2008 07:28:45 +0000 (07:28 +0000)]
10l, forgot to replace a / 256 for r14173.
Fixes MS ADPCM regression test.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14174 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoChange MS ADPCM table so they fit into int8_t and change array type.
reimar [Fri, 11 Jul 2008 21:38:42 +0000 (21:38 +0000)]
Change MS ADPCM table so they fit into int8_t and change array type.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14173 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoindent
michael [Fri, 11 Jul 2008 19:54:02 +0000 (19:54 +0000)]
indent

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14172 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoFix not coded channels / silence decoding.
michael [Fri, 11 Jul 2008 19:51:36 +0000 (19:51 +0000)]
Fix not coded channels / silence decoding.
Fixes issue264 WMV audio stutter

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14171 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoCheck that we have enough output space available.
michael [Fri, 11 Jul 2008 19:45:52 +0000 (19:45 +0000)]
Check that we have enough output space available.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14170 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoDeprecate avcodec_build(), it returns the same value as
andoma [Fri, 11 Jul 2008 15:25:12 +0000 (15:25 +0000)]
Deprecate avcodec_build(), it returns the same value as
avcodec_version().

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14169 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agosimplify
michael [Fri, 11 Jul 2008 15:12:44 +0000 (15:12 +0000)]
simplify

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14168 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoslightly better detection
michael [Fri, 11 Jul 2008 15:10:58 +0000 (15:10 +0000)]
slightly better detection

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14167 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoMove #ifdef CONFIG_DVVIDEO_ENCODER up to cover all functions used for encoding.
diego [Fri, 11 Jul 2008 07:48:37 +0000 (07:48 +0000)]
Move #ifdef CONFIG_DVVIDEO_ENCODER up to cover all functions used for encoding.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14166 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoMake preprocessor condition more specific and useful by changing
diego [Fri, 11 Jul 2008 07:45:49 +0000 (07:45 +0000)]
Make preprocessor condition more specific and useful by changing
#ifdef CONFIG_ENCODERS --> #ifdef CONFIG_DVVIDEO_ENCODER.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14165 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoMove one function that is only used for muxing below #ifdef CONFIG_MUXERS.
diego [Fri, 11 Jul 2008 07:41:11 +0000 (07:41 +0000)]
Move one function that is only used for muxing below #ifdef CONFIG_MUXERS.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14164 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoMove a function and an #ifdef CONFIG_MUXERS so that functions used only for
diego [Fri, 11 Jul 2008 07:39:33 +0000 (07:39 +0000)]
Move a function and an #ifdef CONFIG_MUXERS so that functions used only for
muxing get disabled when compiling with --disable-muxers.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14163 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoMove functions only used for muxing below #ifdef CONFIG_YUV4MPEGPIPE_MUXER,
diego [Fri, 11 Jul 2008 07:37:22 +0000 (07:37 +0000)]
Move functions only used for muxing below #ifdef CONFIG_YUV4MPEGPIPE_MUXER,
fixes some warnings when compiling with muxers disabled.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14162 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoSSE2 optimizations for Monkey's Audio decoder vector functions
kostya [Fri, 11 Jul 2008 04:48:38 +0000 (04:48 +0000)]
SSE2 optimizations for Monkey's Audio decoder vector functions

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14161 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoH264: Fix decoding with CABAC/delta_qp/PCM macroblocks.
astrange [Fri, 11 Jul 2008 02:07:57 +0000 (02:07 +0000)]
H264: Fix decoding with CABAC/delta_qp/PCM macroblocks.
Patch by Jason Garrett-Glaser (darkshikari gmail com)

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14160 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoAdd a checklist about new codecs or formats to the documentation.
ramiro [Fri, 11 Jul 2008 00:59:27 +0000 (00:59 +0000)]
Add a checklist about new codecs or formats to the documentation.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14159 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoUpdate Changelog and documentation for MVI demuxer and decoder.
ramiro [Thu, 10 Jul 2008 18:01:21 +0000 (18:01 +0000)]
Update Changelog and documentation for MVI demuxer and decoder.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14158 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoUpdate info for Sonic, add Dirac to supported formats list.
diego [Thu, 10 Jul 2008 16:37:46 +0000 (16:37 +0000)]
Update info for Sonic, add Dirac to supported formats list.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14157 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoSort lists ignoring case.
diego [Thu, 10 Jul 2008 16:33:10 +0000 (16:33 +0000)]
Sort lists ignoring case.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14156 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agocosmetics: Fix inconsistent indentation.
diego [Thu, 10 Jul 2008 16:31:11 +0000 (16:31 +0000)]
cosmetics: Fix inconsistent indentation.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14155 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoRemove useless casts.
benoit [Thu, 10 Jul 2008 11:52:51 +0000 (11:52 +0000)]
Remove useless casts.
Patch by avcoder ffmpeg at gmail d0t com

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14154 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoRemove useless casts.
benoit [Thu, 10 Jul 2008 11:49:53 +0000 (11:49 +0000)]
Remove useless casts.
Patch by avcoder ffmpeg at gmail d0t com

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14153 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoParse frames to feed the decoder with individual parse units.
benoit [Thu, 10 Jul 2008 11:44:01 +0000 (11:44 +0000)]
Parse frames to feed the decoder with individual parse units.
Patch by Anuradha Suraparaju anuradha rd bbc co uk
Original thread: [PATCH] Patches to fix issue453 individuallibdiracschroedinger
Date: 05/22/2008 04:26 AM

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14152 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoAdd entry for Dirac codec.
benoit [Thu, 10 Jul 2008 11:41:06 +0000 (11:41 +0000)]
Add entry for Dirac codec.
Patch by Anuradha Suraparaju anuradha rd bbc co uk

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14151 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoAdd a parameter for queue size.
benoit [Thu, 10 Jul 2008 11:40:19 +0000 (11:40 +0000)]
Add a parameter for queue size.
Patch by Anuradha Suraparaju anuradha rd bbc co uk

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14150 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoFix MPEG video packetization for RTP
lucabe [Thu, 10 Jul 2008 07:40:54 +0000 (07:40 +0000)]
Fix MPEG video packetization for RTP

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14149 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoThose functions input length is a multiple of 16.
kostya [Thu, 10 Jul 2008 06:15:13 +0000 (06:15 +0000)]
Those functions input length is a multiple of 16.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14148 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b