Justin Ruggles
90fcac0e95
flacdec: allow mid-stream channel layout change
...
Although the libFLAC decoder cannot handle such a change, it is allowed by the
spec and could potentially occur with live streams.
12 years ago
Justin Ruggles
268f8ba112
flacdec: use av_samples_* functions for sample buffer allocation
...
Also, return an error on allocation failure.
12 years ago
Justin Ruggles
93e27f86f1
cook: use av_dlog() for debug logging instead of av_log() with AV_LOG_ERROR
12 years ago
Justin Ruggles
8f173ef019
cook: move samples_per_frame from COOKSubpacket to where it is used
12 years ago
Justin Ruggles
7efbba2e36
cook: use av_get_channel_layout_nb_channels() instead of cook_count_channels()
12 years ago
Justin Ruggles
d21b2e4726
cook: reverse a condition so that the code makes more sense
12 years ago
Justin Ruggles
926e9d28f1
cook: remove unneeded COOKContext variable, sample_rate
12 years ago
Justin Ruggles
8aa5b8c5c8
cook: remove unneeded COOKContext variable, bit_rate
12 years ago
Justin Ruggles
3509eee19c
cook: use AVCodecContext.channels instead of keeping a private copy
12 years ago
Justin Ruggles
a3145d0335
bmvaudio: set channel layout at init() rather than validating it
12 years ago
Justin Ruggles
a38eadf7ed
atrac1: do not keep a copy of channel count in the private context
12 years ago
Justin Ruggles
4f56f9c48f
dsicinaudio: set channels and channel layout
12 years ago
Justin Ruggles
ec2694d259
g722dec: set channel layout at initialization instead of validating it
12 years ago
Justin Ruggles
ee0e9678e7
amrwbdec: set channels, channel_layout, and sample_rate
...
Only mono 16kHz is supported.
12 years ago
Justin Ruggles
b24a4449a5
amrnbdec: set channels, channel_layout, and sample_rate
...
Only mono 8kHz is supported.
12 years ago
Justin Ruggles
a4202003b2
dca_parser: allow the parser to change the sample rate
12 years ago
Justin Ruggles
0366664ef9
lavc: check channel count after decoder init
...
Ensures the decoder did not set channel count to an insanely high value
during initialization, which could cause large memory usage when it tries to
get a buffer during decoding.
12 years ago
Justin Ruggles
bb6941af2a
lavc: move SANE_NB_CHANNELS to internal.h and use it in the PCM decoders
12 years ago
Tomas Härdin
84e7d368d6
mxfdec: Fix inferred misuses of enums
...
This fixes CID 700457, 700458 and 703705.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Marton Balint
fec39d99d6
ffplay: remove redundant !codec check
...
Signed-off-by: Marton Balint <cus@passwd.hu>
12 years ago
Marton Balint
fdb933444a
ffplay: only initialize codec opts before using it
...
Fixes Coverity CID 733793.
Signed-off-by: Marton Balint <cus@passwd.hu>
12 years ago
Marton Balint
8cb740245d
ffplay: always free buffersink_params in configure_video_filters
...
Fixes Coverity CID 733792.
Signed-off-by: Marton Balint <cus@passwd.hu>
12 years ago
Marton Balint
09214f494b
ffplay: remove uneeded format filter, buffersink format is set
...
Signed-off-by: Marton Balint <cus@passwd.hu>
12 years ago
Marton Balint
afd9e705de
ffplay: check for buffersink_params allocation success
...
Signed-off-by: Marton Balint <cus@passwd.hu>
12 years ago
Marton Balint
abd49a7524
ffplay: always free inputs and outputs in configure_filtergraph
...
Fixes Coverity CID 733791.
Signed-off-by: Marton Balint <cus@passwd.hu>
12 years ago
Marton Balint
65f6c42a9f
ffplay: fill the unused part of the window with black
...
Should fix ticket #1667 .
Signed-off-by: Marton Balint <cus@passwd.hu>
12 years ago
Marton Balint
00b70f8d29
ffplay: add update parameter to fill_rectangle
...
Signed-off-by: Marton Balint <cus@passwd.hu>
12 years ago
Michael Niedermayer
e5cf100d3d
mpegvideo_probe: check slice order
...
Fixes: Enrique.mp3
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
7fd9d49ba7
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
fate: add ac3/eac3 tests to FATE_SAMPLES_AVCONV
avconv_opt, cmdutils: Add missing function parameter Doxygen
x86: Move optimization suffix to end of function names
Conflicts:
cmdutils.h
Merged-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
add7513e64
Merge commit 'fa8fcab1e0d31074c0644c4ac5194474c6c26415'
...
* commit 'fa8fcab1e0d31074c0644c4ac5194474c6c26415':
x86: h264_chromamc_10bit: drop pointless PAVG %define
x86: mmx2 ---> mmxext in function names
swscale: do not forget to swap data in formats with different endianness
Conflicts:
libavcodec/x86/dsputil_mmx.c
libavfilter/x86/gradfun.c
libswscale/input.c
libswscale/utils.c
libswscale/x86/swscale.c
tests/ref/lavfi/pixfmts_scale
Merged-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Stefano Sabatini
14f1fa56b2
doc/filters: add "Notes on filtergraph escaping" section
...
Should help to clarify escaping issues in the filtergraph syntax. In
particular, should address trac ticket #1813 .
12 years ago
Michael Niedermayer
6204ea17f1
rational: test add/sub too
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
841bf0ef24
cmdutils: allow specifying the file for -report
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Carl Eugen Hoyos
7139f0e6be
Fix typo in platform documentation.
12 years ago
Paul B Mahol
bb9bc1fc98
flicvideo: return more meaningful error codes
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Michael Niedermayer
6a712e7f62
sws: bump micro for range bugfix
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
25a21c587c
eval-test: add some otherwise untested functions.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Clément Bœsch
54a48d2f04
lavfi: fix references to avfilter_* functions that don't exist anymore.
12 years ago
Paul B Mahol
010f1ce954
ffv1: assert that there is at least one slice
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Janne Grunau
6b07830a77
fate: add ac3/eac3 tests to FATE_SAMPLES_AVCONV
...
Fixes typo in 2cbdd7c929
.
12 years ago
Clément Bœsch
fd6707ed0e
lavfi/hue: add missing GPL dependency.
12 years ago
Clément Bœsch
5b4cae50c9
LICENSE: update GPL filter list.
12 years ago
Clément Bœsch
f53112b665
lavfi: remove hqdn3d libmpcodecs wrapper.
...
The native filter was ported from the MPlayer project when the mp
wrapper didn't even exist, and when mp=hqdn3d was added, it was already
obsolete.
12 years ago
Michael Niedermayer
adc39b28a5
av_image_copy: check for av_image_get_linesize() failure.
...
Fixes CID703722
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
6992b0bfc2
utils: fix rounding of micro seconds
...
Found-by: Johan Wessfeldt <johan.wessfeldt@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Diego Biurrun
fa8fcab1e0
x86: h264_chromamc_10bit: drop pointless PAVG %define
...
It is only used in one place so there is no need for the abstraction.
12 years ago
Diego Biurrun
02e4275180
avconv_opt, cmdutils: Add missing function parameter Doxygen
12 years ago
Diego Biurrun
c37322e68c
x86: Move optimization suffix to end of function names
...
This simplifies cpuflags porting.
12 years ago
Diego Biurrun
d8eda37080
x86: mmx2 ---> mmxext in function names
12 years ago
Kostya Shishkov
38fdf72580
swscale: do not forget to swap data in formats with different endianness
...
Otherwise during scaling it will try to interpret input in the wrong way and
that leads to the test results disagreeing on different platforms and with
different optimizations.
Signed-off-by: Diego Biurrun <diego@biurrun.de>
12 years ago