Paul B Mahol
f870fc2fb9
adpcmenc: refactor some code.
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Paul B Mahol
82c252972b
adpcmenc: check return value of avcodec_alloc_frame()
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Paul B Mahol
7b21b0f155
adxenc: check return value of avcodec_alloc_frame()
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Paul B Mahol
88fb935c1c
ac3enc: check return value of avcodec_alloc_frame()
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Anton Khirnov
9bfe218299
lavc: extend doxy for avcodec_alloc_context3().
13 years ago
Anton Khirnov
2d9535ad31
avcodec_align_dimensions2: set only 4 linesizes, not AV_NUM_DATA_POINTERS.
...
This function is video-only, so there's no point in setting more
linesizes.
Fixes stack corruption in avplay.
13 years ago
Mans Rullgard
be822d77b6
aacsbr: ARM NEON optimised sbrdsp functions
...
Overall speedup of HE-AAC decoding 2.3x on Cortex-A8, 1.2x on A9.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Mans Rullgard
8996ed2b73
aacsbr: align some arrays
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Mans Rullgard
aac46e088d
aacsbr: move some simdable loops to function pointers
...
This prepares for assembly optimisations by moving the most
time-consuming loops to functions called through pointers
in a new context.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Clément Bœsch
23b639c44f
Fix "ouput" typo and add a check.
13 years ago
Michael Niedermayer
81ab42a334
dirac_yasm: fix linking failure due to %ifndef
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Alex Converse
7181c4edee
cosmetics: Remove extra newlines at EOF
13 years ago
Michael Niedermayer
f21b6159cf
mpegvideoenc: Fail if a buffer size is specified without a max rate.
...
This combination makes not much sense.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
49f2056289
pngdec: Convert 2/4 bit formats to 8bit.
...
This way 2 and 4 bit gray, rgb & rgba are supported.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
eb3f81e4ef
targadec: Simplify RLE out of packet check.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Martin Storsjö
9a7dc618c5
libavcodec: Don't crash in avcodec_encode_audio if time_base isn't set
...
Earlier, calling avcodec_encode_audio worked fine even if time_base
wasn't set. Now it crashes due to trying to scale the output pts to
the codec context time base. This affects e.g. VLC.
If no time_base is set for audio codecs, set it to the sample
rate.
CC: libav-stable@libav.org
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Aneesh Dogra
bca77a1a64
sunrast: Document the different Sun Raster file format types.
...
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
13 years ago
Aneesh Dogra
1bbb173652
sunrast: Add a check for experimental type.
...
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
13 years ago
Justin Ruggles
2c577155a7
libspeexenc: use AVSampleFormat instead of deprecated/removed SampleFormat
...
Fixes build with --enable-libspeex
13 years ago
Anton Khirnov
3b4aaa6190
lavc: remove disabled FF_API_AVFRAME_AGE cruft.
13 years ago
Anton Khirnov
d803775e81
lavc: remove disabled FF_API_DATA_POINTERS cruft.
13 years ago
Anton Khirnov
10e1ae5eff
lavc: remove disabled FF_API_TIFFENC_COMPLEVEL cruft.
13 years ago
Anton Khirnov
370e923e0b
lavc: remove disabled FF_API_INTERNAL_CONTEXT cruft.
13 years ago
Anton Khirnov
ac84395d6a
lavc: remove disabled FF_API_PARSE_FRAME cruft.
13 years ago
Anton Khirnov
8b9b6041d7
lavc: remove disabled FF_API_GET_ALPHA_INFO cruft.
13 years ago
Anton Khirnov
99ace37e68
lavc: remove disabled FF_API_MJPEG_GLOBAL_OPTS cruft.
13 years ago
Anton Khirnov
96e9b96fcd
lavc: remove disabled FF_API_SNOW_GLOBAL_OPTS cruft.
13 years ago
Anton Khirnov
b9de160c3e
lavc: remove disabled FF_API_LAME_GLOBAL_OPTS cruft.
13 years ago
Anton Khirnov
3211932c51
lavc: remove disabled FF_API_AVCODEC_INIT cruft.
13 years ago
Anton Khirnov
491f443e1f
lavc: remove disabled FF_API_ER cruft.
13 years ago
Anton Khirnov
f326501a65
lavc: remove disabled FF_API_DRC_SCALE cruft.
13 years ago
Anton Khirnov
d2d931500b
lavc: remove disabled FF_API_AVCODEC_OPEN cruft.
13 years ago
Anton Khirnov
ec104eef51
lavc: remove disabled FF_API_ALLOC_CONTEXT cruft.
13 years ago
Anton Khirnov
8e5746d461
lavc: remove disabled FF_API_GET_PIX_FMT_NAME cruft.
13 years ago
Anton Khirnov
0dc6bab092
lavc: remove disabled FF_API_FLAC_GLOBAL_OPTS cruft.
13 years ago
Anton Khirnov
fbca04e6f6
lavc: remove disabled FF_API_OLD_FF_PICT_TYPES cruft.
13 years ago
Anton Khirnov
9a79bb552a
lavc: remove disabled FF_API_THREAD_INIT cruft.
13 years ago
Anton Khirnov
7831a7e4ec
lavc: remove disabled FF_API_ANTIALIAS_ALGO cruft.
13 years ago
Anton Khirnov
62dfea6535
lavc: remove disabled FF_API_OLD_AUDIOCONVERT cruft.
13 years ago
Anton Khirnov
284e65d64e
lavc: remove disabled FF_API_OLD_SAMPLE_FMT cruft.
13 years ago
Anton Khirnov
6c8dab98b8
lavc: remove disabled FF_API_PALETTE_CONTROL cruft.
13 years ago
Anton Khirnov
9ce2a91b84
lavc: remove disabled FF_API_MPEGVIDEO_GLOBAL_OPTS cruft.
13 years ago
Anton Khirnov
7232bfbd93
lavc: remove disabled FF_API_X264_GLOBAL_OPTS cruft.
13 years ago
Anton Khirnov
7460398b89
lavc: remove the deprecated opt.h header.
13 years ago
Anton Khirnov
041cd5a0c5
lavc: remove the deprecated "ab" option.
13 years ago
Anton Khirnov
7063b6eaee
lavc: increase major version to 54.
...
The lavf-ffm test results change because ffmenc writes
AVCodecContext.flags/flags2 and the defaults for those change.
13 years ago
Mashiat Sarker Shakkhar
bfbd22f9f0
Cosmetics: Fix some whitespace errors and indentation
13 years ago
Ronald S. Bultje
3b15a6d742
config.asm: change %ifdef directives to %if directives.
...
This allows combining multiple conditionals in a single statement.
13 years ago
Paul B Mahol
5eda82aac9
frwu: check if allocation was successful
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
13 years ago
Mashiat Sarker Shakkhar
d51d6ae9c4
vc1dec.c: Don't use uninitialized values of dmv_[x, y]
...
MVDATA may or may not be transmitted. If it is not, both
dmv_x and dmv_y is to be assumed zero.
This may not trigger wrong picture in all systems, but
it's a bug nevertheless. Fixes SA10116.vc1 on my 64-bit
Windows 7.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
13 years ago