1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-02 03:06:28 +02:00
FFmpeg/libavcodec
Reimar Döffinger 681c180dc4 Make avcodec_open set codec_id and codec_type if they haven't been set.
This fixes the API breakage introduced by the check that avctx codec id and type
match the opened codec and should make (almost?) all applications work again.

Originally committed as revision 20125 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-01 15:54:55 +00:00
..
alpha
arm ARM: NEON optimised vector_fmul_add 2009-09-27 16:52:05 +00:00
avr32
bfin
mips
mlib
ppc cosmetics: fix indentation after previous commit 2009-09-27 16:52:00 +00:00
ps2
sh4
sparc
x86 Use MANGLE in cavsdsp, the current version using "m" constraints will not 2009-10-01 15:30:27 +00:00
4xm.c
8bps.c
8svx.c
aac_ac3_parser.c
aac_ac3_parser.h
aac_adtstoasc_bsf.c
aac_parser.c
aac_parser.h
aac.c Refactor channel element configuration and mapping code into its own function 2009-09-28 15:37:18 +00:00
aac.h
aaccoder.c
aacdectab.h AAC: Add channel layout support for channel configuration as defined in the 2009-09-28 15:35:13 +00:00
aacenc.c
aacenc.h
aacpsy.c
aacpsy.h
aactab.c
aactab.h
aandcttab.c
aandcttab.h
aasc.c
ac3_parser.c
ac3_parser.h
ac3.c Remove unneeded table lookup. 2009-09-27 06:16:49 +00:00
ac3.h
ac3dec_data.c
ac3dec_data.h
ac3dec.c Change an error to a warning to support broken AC-3 files known to exist. 2009-10-01 00:06:54 +00:00
ac3dec.h
ac3enc.c
ac3tab.c
ac3tab.h
acelp_filters.c
acelp_filters.h
acelp_pitch_delay.c
acelp_pitch_delay.h
acelp_vectors.c
acelp_vectors.h
adpcm.c
adx.h
adxdec.c
adxenc.c
alac.c
alacenc.c put_bits can only reliably write up to 31 bit bits, above it relies on 2009-10-01 15:40:29 +00:00
allcodecs.c
apedec.c
api-example.c
asv1.c
atrac1.c Reindent code folowing previous commit (r20019) 2009-09-24 21:26:35 +00:00
atrac1data.h
atrac3.c
atrac3data.h
atrac.c
atrac.h
audioconvert.c
audioconvert.h
avcodec.h Fix indentation in avcodec.h 2009-09-29 17:34:36 +00:00
avpacket.c
avs.c
beosthread.c
bethsoftvideo.c
bethsoftvideo.h
bfi.c
bitstream_filter.c
bitstream.c Remove ff_realloc_static, it is no longer used and since it was declared 2009-09-24 22:39:47 +00:00
bmp.c Make BMP decoder produce flipped picture with RLE compression. 2009-10-01 05:46:17 +00:00
bmp.h
bmpenc.c
bytestream.h
c93.c
cabac.c
cabac.h
cavs_parser.c
cavs.c
cavs.h
cavsdata.h
cavsdec.c
cavsdsp.c
celp_filters.c
celp_filters.h
celp_math.c
celp_math.h
cga_data.c
cga_data.h
cinepak.c
cljr.c
colorspace.h
cook.c
cookdata.h
cscd.c
cyuv.c
dca_parser.c
dca.c
dca.h
dcadata.h
dcahuff.h
dct-test.c
dctref.c
dirac_parser.c
dnxhd_parser.c
dnxhddata.c
dnxhddata.h
dnxhddec.c
dnxhdenc.c
dnxhdenc.h
dpcm.c
dpx.c
dsicinav.c
dsputil.c Drop unused args from vector_fmul_add_add, simpify code, and rename 2009-09-27 16:51:54 +00:00
dsputil.h Drop unused args from vector_fmul_add_add, simpify code, and rename 2009-09-27 16:51:54 +00:00
dump_extradata_bsf.c
dv.c Use context instead of NULL for logging. 2009-09-29 19:18:51 +00:00
dvbsub_parser.c
dvbsub.c
dvbsubdec.c
dvdata.h Allow decoding of 625/50 (PAL) with video_stype==1. 2009-09-24 19:37:41 +00:00
dvdsub_parser.c
dvdsubdec.c
dvdsubenc.c
dxa.c
eac3dec_data.c
eac3dec_data.h
eac3dec.c
eacmv.c
eaidct.c
eamad.c
eatgq.c
eatgv.c
eatqi.c
elbg.c
elbg.h
error_resilience.c
escape124.c
eval.c
eval.h
faandct.c
faandct.h
faanidct.c
faanidct.h
faxcompr.c Simplify r20025: use align_get_bits instead of reimplementing it. 2009-09-29 11:06:04 +00:00
faxcompr.h cosmetics: reindent and reformat function declarations 2009-09-28 05:19:13 +00:00
fft-test.c
fft.c
ffv1.c
flac.c
flac.h
flacdata.c
flacdata.h
flacdec.c
flacenc.c
flashsv.c
flashsvenc.c
flicvideo.c
fraps.c
g726.c
g729.h
g729data.h
g729dec.c
get_bits.h Completely remove INIT_VLC_USE_STATIC, it is deprecated since ages and 2009-09-24 15:13:34 +00:00
gif.c
gifdec.c
golomb.c
golomb.h
h261_parser.c
h261.c
h261.h
h261data.h
h261dec.c
h261enc.c
h263_parser.c
h263_parser.h
h263.c
h263.h
h263data.h
h263dec.c
h264_mp4toannexb_bsf.c
h264_parser.c
h264_parser.h
h264.c Cosmetics: Fix typo. 2009-09-23 10:07:29 +00:00
h264.h
h264data.h
h264dspenc.c
h264enc.c
h264idct.c
h264pred.c
h264pred.h
huffman.c
huffman.h
huffyuv.c
idcinvideo.c
iirfilter.c
iirfilter.h
imc.c
imcdata.h
imgconvert.c simplify format string for writing pix_fmt string. 2009-09-26 22:54:29 +00:00
imgconvert.h
imx_dump_header_bsf.c
indeo2.c
indeo2data.h
indeo3.c
indeo3data.h
internal.h
interplayvideo.c
intrax8.c Change VLC table creation in x8_vlc_init to use INIT_VLC_USE_NEW_STATIC. 2009-09-24 11:04:46 +00:00
intrax8.h
intrax8dsp.c
intrax8huf.h
jfdctfst.c
jfdctint.c
jpegls.c
jpegls.h
jpeglsdec.c
jpeglsdec.h
jpeglsenc.c
jrevdct.c
kmvc.c
lcl.h
lcldec.c
lclenc.c
libdirac_libschro.c
libdirac_libschro.h
libdirac.h
libdiracdec.c
libdiracenc.c
libfaac.c
libfaad.c
libgsm.c
libmp3lame.c
libopencore-amr.c
libopenjpeg.c
libschroedinger.c
libschroedinger.h
libschroedingerdec.c
libschroedingerenc.c
libspeexdec.c
libtheoraenc.c Support constant-quant encoding for libtheora 2009-09-30 22:25:49 +00:00
libvorbis.c
libx264.c cosmetics: K&R coding style, prettyprinting 2009-09-29 18:03:30 +00:00
libxvid_internal.h
libxvid_rc.c
libxvidff.c
ljpegenc.c
loco.c
lpc.c
lpc.h
lsp.c
lsp.h
lzw.c
lzw.h
lzwenc.c
mace.c
Makefile
mathops.h
mdct.c
mdec.c
mimic.c
mjpeg_parser.c
mjpeg.c
mjpeg.h
mjpega_dump_header_bsf.c
mjpegbdec.c
mjpegdec.c lavc MJPEG decoder is capable of decoding some extended sequential 2009-10-01 05:52:38 +00:00
mjpegdec.h
mjpegenc.c Use skip_put_bytes in MJPEG encoder instead of filling all bytes with 0 2009-09-30 10:48:14 +00:00
mjpegenc.h
mlp_parser.c
mlp_parser.h
mlp.c
mlp.h Specify maximum sample rate of MLP by defining the factor relative to 48000 2009-09-26 16:04:35 +00:00
mlpdec.c
mlpdsp.c
mmvideo.c
motion_est_template.c
motion_est.c
motion-test.c
motionpixels.c
movsub_bsf.c
mp3_header_compress_bsf.c
mp3_header_decompress_bsf.c
mpc7.c
mpc7data.h
mpc8.c
mpc8data.h
mpc8huff.h
mpc.c
mpc.h
mpcdata.h
mpeg4audio.c
mpeg4audio.h
mpeg4data.h
mpeg4video_parser.c
mpeg4video_parser.h
mpeg12.c
mpeg12.h
mpeg12data.c
mpeg12data.h
mpeg12decdata.h
mpeg12enc.c
mpegaudio_parser.c
mpegaudio.c
mpegaudio.h
mpegaudiodata.c
mpegaudiodata.h
mpegaudiodec.c Set data_size to 0 to avoid having it uninitialized. 2009-09-23 11:44:30 +00:00
mpegaudiodecheader.c
mpegaudiodecheader.h
mpegaudiodectab.h
mpegaudioenc.c Use floating point mathematics when encoding mpeg audio. 2009-09-30 15:13:09 +00:00
mpegaudiotab.h
mpegvideo_common.h
mpegvideo_enc.c
mpegvideo_parser.c
mpegvideo_xvmc.c
mpegvideo.c
mpegvideo.h
msmpeg4.c
msmpeg4.h
msmpeg4data.c
msmpeg4data.h
msrle.c
msrledec.c Make MS RLE decoder produce both bottom-up and top-down pictures 2009-10-01 05:42:55 +00:00
msrledec.h
msvideo1.c
nellymoser.c
nellymoser.h
nellymoserdec.c
nellymoserenc.c
noise_bsf.c
nuv.c
opt.c
opt.h
options.c
os2thread.c
parser.c
parser.h
pcm-mpeg.c
pcm.c
pcx.c
pcxenc.c
pgssubdec.c
pixdesc.c
pixdesc.h
png.c
png.h
pngdec.c
pngenc.c
pnm_parser.c
pnm.c
pnm.h
pnmenc.c
psymodel.c
psymodel.h
pthread.c
ptx.c
put_bits.h put_bits can only reliably write up to 31 bit bits, above it relies on 2009-10-01 15:40:29 +00:00
qcelpdata.h
qcelpdec.c
qdm2.c
qdm2data.h
qdrw.c
qpeg.c
qtrle.c
qtrleenc.c
ra144.c
ra144.h
ra288.c
ra288.h
rangecoder.c
rangecoder.h
ratecontrol.c
ratecontrol.h
raw.c
raw.h
rawdec.c
rawenc.c
rdft.c
rectangle.h
remove_extradata_bsf.c
resample2.c
resample.c
rl2.c
rl.h
rle.c
rle.h
roqaudioenc.c
roqvideo.c
roqvideo.h
roqvideodec.c
roqvideoenc.c
rpza.c
rtjpeg.c
rtjpeg.h
rv10.c
rv10enc.c
rv20enc.c
rv30.c
rv30data.h
rv30dsp.c
rv34.c
rv34.h
rv34data.h
rv34vlc.h
rv40.c
rv40data.h
rv40dsp.c
rv40vlc2.h
s3tc.c
s3tc.h
sgi.h
sgidec.c
sgienc.c Fix wrongly indented block. 2009-10-01 09:30:08 +00:00
shorten.c
simple_idct.c
simple_idct.h
smacker.c
smc.c
snow.c
snow.h
sonic.c
sp5x.h
sp5xdec.c
sunrast.c
svq1_cb.h
svq1_vlc.h
svq1.c
svq1.h
svq1dec.c Replace last use of INIT_VLC_USE_STATIC by INIT_VLC_USE_NEW_STATIC in svq1dec 2009-09-24 15:12:05 +00:00
svq1enc_cb.h
svq1enc.c
svq3.c
targa.c
targaenc.c Fix indentation after last commit. 2009-10-01 12:21:54 +00:00
tiertexseqv.c
tiff.c Do not attempt to decode TIFF files containing fax data with uncompressed 2009-10-01 06:31:49 +00:00
tiff.h Support both LSB and MSB orders for TIFF CCITT G.x compressed data. 2009-09-24 18:30:28 +00:00
tiffenc.c
tmv.c
truemotion1.c
truemotion1data.h
truemotion2.c
truespeech_data.h
truespeech.c
tscc.c
tta.c
twinvq_data.h
twinvq.c
txd.c
ulti_cb.h
ulti.c
unary.h
utils.c Make avcodec_open set codec_id and codec_type if they haven't been set. 2009-10-01 15:54:55 +00:00
v210dec.c
v210enc.c
v210x.c
vaapi_internal.h
vaapi_mpeg2.c
vaapi_mpeg4.c
vaapi_vc1.c
vaapi.c
vaapi.h
vb.c
vc1_parser.c
vc1.c
vc1.h
vc1acdata.h
vc1data.c
vc1data.h
vc1dec.c Use ff_msmpeg4_decode_init to initialize ff_msmp4_mb_i_vlc since static 2009-09-24 10:49:47 +00:00
vc1dsp.c
vcr1.c
vdpau_internal.h
vdpau.c
vdpau.h
vmdav.c
vmnc.c
vorbis_data.c whitespace cosmetics, prettyprinting, K&R coding style 2009-09-29 11:43:58 +00:00
vorbis_dec.c whitespace cosmetics, prettyprinting, K&R coding style 2009-09-29 11:43:58 +00:00
vorbis_enc_data.h whitespace cosmetics, prettyprinting, K&R coding style 2009-09-29 11:43:58 +00:00
vorbis_enc.c put_bits can only reliably write up to 31 bit bits, above it relies on 2009-10-01 15:40:29 +00:00
vorbis.c whitespace cosmetics, prettyprinting, K&R coding style 2009-09-29 11:43:58 +00:00
vorbis.h brace placement and linebreak cosmetics 2009-09-28 21:13:47 +00:00
vp3_parser.c
vp3.c Make sure that all memory allocations succeed. 2009-09-24 06:33:16 +00:00
vp3data.h
vp3dsp.c
vp5.c
vp5data.h
vp6.c
vp6data.h
vp6dsp.c
vp56.c
vp56.h
vp56data.c
vp56data.h
vqavideo.c
w32thread.c
wavpack.c
wma.c WMA: store level_table as floats, use type punning for sign flip in decode 2009-09-29 10:38:34 +00:00
wma.h WMA: store level_table as floats, use type punning for sign flip in decode 2009-09-29 10:38:34 +00:00
wmadata.h
wmadec.c WMA: fix loop unrolling in decode_exp_vlc() 2009-09-29 12:48:24 +00:00
wmaenc.c
wmaprodata.h WMA: store level_table as floats, use type punning for sign flip in decode 2009-09-29 10:38:34 +00:00
wmaprodec.c WMA: store level_table as floats, use type punning for sign flip in decode 2009-09-29 10:38:34 +00:00
wmv2.c
wmv2.h
wmv2dec.c
wmv2enc.c
wnv1.c
ws-snd1.c
xan.c
xiph.c
xiph.h
xl.c
xsubdec.c
xsubenc.c
xvmc_internal.h
xvmc.h
zmbv.c
zmbvenc.c