Mans Rullgard
7238265052
x86: fix rNmp macros with nasm
For some reason, nasm requires this. No harm done to yasm.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Mans Rullgard
f295fee2c9
build: add trailing / to yasm/nasm -I flags
nasm requires a trailing / on paths specified with -I.
It does no harm with yasm.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Mans Rullgard
2b140a3d09
x86: use 32-bit source registers with movd instruction
yasm tolerates mismatch between movd/movq and source register size,
adjusting the instruction according to the register. nasm is more
strict.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Mans Rullgard
a3df4781f4
x86: add colons after labels
nasm prints a warning if the colon is missing.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Anton Khirnov
36ef5369ee
Replace all CODEC_ID_* with AV_CODEC_ID_*
13 years ago
Anton Khirnov
104e10fb42
lavc: add AV prefix to codec ids.
13 years ago
Yaakov Selkowitz
f5d2c597e9
build: fix library installation on cygwin
This installs libraries using the proper names and locations,
generates an import lib for the DLL, and drops no longer needed
linker flags.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Michael Niedermayer
7febc5aa93
arm: fix compile with disable-optimizations on android
Fixes Ticket1241
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Clément Bœsch
cf753d5b59
doc: fix misspelled "convergence".
Found-by: David Rice
13 years ago
Paul B Mahol
011ce89dba
avcodec: add bmp parser
Signed-off-by: Paul B Mahol <onemda@gmail.com>
13 years ago
Michael Niedermayer
29d1df66ad
mpegaudiodec: replace assert() by check under #ifdef DEBUG
The assert can be false with some invalid inputs, the check is
too expensive to always do though for just a warning message.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
3865ec2ace
proresenc_kostya: do not attempt to free random things
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
cde4741177
h264: disable assert on current_picture_ptr being null.
It is possible in various error pathes as well as gap handling
that this has already been allocated. Its not clear why that
would be a problem with the current code, thus disable the
assert to avoid common assert failure when asserts are enabled.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
7ae473e8a0
Merge remote-tracking branch 'qatar/master'
* qatar/master:
nuv: K&R formatting cosmetics
build: generalise rules and variable settings for av* programs
nuv: check RTjpeg header for validity
Revert "nuv: check per-frame header for validity."
imc: remove unused field IMCContext.one_div_log2
imc: fix size of a memset()
imc: remove empty if() block
fate: simplify variable setting filter.mak
lavf: Declare an AVRational struct without a struct literal
Conflicts:
Makefile
configure
libavcodec/nuv.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
a80ce390df
avidec: parse INFO tags at the end
Fixes Ticket1123
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Justin Ruggles
fdbeae4490
mpc8: add a flush function
Ensures that the next frame decoded after seeking will be decoded as a
keyframe.
13 years ago
Justin Ruggles
2fa57c9daf
mpc8: set packet duration and stream start time instead of tracking frames
Fixes mpc8 timestamps.
13 years ago
Michael Niedermayer
21eafa18e6
msrle: fix extradata palette handling
Fixes Ticket1273
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Diego Biurrun
cf22705e87
nuv: K&R formatting cosmetics
13 years ago
Mans Rullgard
baac24e680
build: generalise rules and variable settings for av* programs
This simplifies adding extra flags for individual programs
and also allows more than one object file per program.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Nicolas George
d74ade7d5f
ffprobe: refactor frames decoding.
13 years ago
Michael Niedermayer
610c67df37
mpegvideo: remove last_picture_ptr / h264 assert.
This assert is no longer true since h264 error concealment needs
last_picture_ptr to be set.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
e6690b6a56
mpegvideo.c: convert some asserts to av_assert
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
3e0b4e32c9
svq1enc: set picture_structure correctly
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
f8dbbe5464
mpegvideo_enc: switch some assert to av_assert
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
f72e0d9a9f
mpegvideo_enc: remove assert that has become obsolete with the new API
it now just checks uninitialized and unused data.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Janne Grunau
859a579e9b
nuv: check RTjpeg header for validity
CC: libav-stable@libav.org
13 years ago
Janne Grunau
110d015ad4
Revert "nuv: check per-frame header for validity."
The check is bogus since the nuv frameheader is already skipped
and the (decompressed) RTjpeg header is checked.
This reverts commit f6afacdb3b
.
CC: libav-stable@libav.org
13 years ago
Mans Rullgard
b40ea0f41d
imc: remove unused field IMCContext.one_div_log2
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Mans Rullgard
bc90230b98
imc: fix size of a memset()
IMCContext was changed from an array to a pointer in 66b84e4,
but this memset() was not updated.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Mans Rullgard
2b6804328e
imc: remove empty if() block
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Mans Rullgard
add8f5eab7
fate: simplify variable setting filter.mak
This removes some needless indirection and duplication.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
anonymous
388243bb27
udp: do not call pthread_{mutex,cond}_destroy when not initialized.
This seems to cause a crash on Windows.
The author of that patch was a random guy on IRC who wants to stay anonymous.
13 years ago
Michael Niedermayer
e6b9903d82
shorten: fix cmd type
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Paul B Mahol
9c1619b5fe
mpc7: remove duplicated definitions
They are available in mpc.h
Signed-off-by: Paul B Mahol <onemda@gmail.com>
13 years ago
Michael Niedermayer
7bf16ec300
mpc8: fix pts
Fixes Ticket1254
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
e4b53d995c
mov: dont clip timestamps at 0
Fixes Ticket1251
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Paul B Mahol
958df52ae0
configure: make libtwolame check more robust
Signed-off-by: Paul B Mahol <onemda@gmail.com>
13 years ago
Piotr Bandurski
68f4156f44
movenv: fix remuxing of qdm2
13 years ago
Piotr Bandurski
1b72a7e8a9
aiffenc: fix remuxing of qdm2
13 years ago
Clément Bœsch
16dc5f2050
Replace various inlined inverse AVRational with av_inv_q().
13 years ago
Clément Bœsch
ad55244c96
lavfi/overlay: remove dead initialization.
13 years ago
Piotr Bandurski
5d2f89a23c
movenc: fix remuxing of svq3
13 years ago
Martin Storsjö
6c071a2b38
lavf: Declare an AVRational struct without a struct literal
At this place, the normal way of initializing a struct works
fine, there's no need for a struct literal.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Michael Niedermayer
b4780d03d0
Merge remote-tracking branch 'qatar/master'
* qatar/master:
x86: h264_idct: Rename x264_add8x4_idct_sse2 --> h264_add8x4_idct_sse2
rational: add av_inv_q() returning the inverse of an AVRational
dpx: Make start offset unsigned
lavfi: properly signal out-of-memory error in ff_filter_samples
cosmetics: Fix a few switched periods and linebreaks
zerocodec: Fix memleak in decode_frame
zerocodec: Cosmetics
Conflicts:
ffmpeg.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Diego Biurrun
2096857551
x86: h264_idct: Rename x264_add8x4_idct_sse2 --> h264_add8x4_idct_sse2
13 years ago
Reimar Döffinger
69aeba1396
oggdec: Initialize stream index to -1 in ogg_packet.
The previous method of having to initialize it outside lead
to incorrect code: even if it was initialized, it usually was
only initialized once, thus a packet that could not be matched
to any stream would just be processed with the return values
from the previous call.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
13 years ago
Reimar Döffinger
a4163b2d65
oggdec: simplify start time calculation code.
Also slightly more correct behaviour in case streams_left for
some reason is 0 from the start.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
13 years ago
Paul B Mahol
f5f98727b3
libtwolame MP2 encoding support
Signed-off-by: Paul B Mahol <onemda@gmail.com>
13 years ago
Mans Rullgard
82494835c4
rational: add av_inv_q() returning the inverse of an AVRational
This allows simplifying a few expressions.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago