Michael Niedermayer
d0212bb032
wmalosslessdec: channel residues can be 32 bit thus need _long bitreader.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
a931d87727
mpeg12dec: Prevent f_code from becoming invalid.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
6c3d6a214c
alsdec: Check k used for rice decoder.
...
Values that fail this check will cause failure of decode_rice()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
192efcf768
h264_ps: check log2_max_frame_num for validity.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
2d0b4bc4cf
rv34: Fix check_slice_end() handling of 0 bits left case
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
6c249392fa
mpeg4videodec: make sure f/b_code are not invalid values.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
6560fa390e
get_bits: check the number of bits parameter through av_assert2()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
20676711fe
vc1: fix incorrect show_bits() usage.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
d3b0fb1048
put_bits: add av_assert2() to check out of array writes.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Reimar Döffinger
e80ce4adea
Do not decode the mp3 data in lavf test since that is not bit-exact.
...
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
13 years ago
Reimar Döffinger
4395c058d2
dcaenc: Allow encoding without specifying a channel_layout.
...
It will print a warning, making the behaviour consistent
with the AC3 encoder.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
13 years ago
Reimar Döffinger
82ca1f8004
Test mp3 container muxing (and thus ID3 writing).
...
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
13 years ago
Reimar Döffinger
cb25a186eb
Fix DCA regression test to work across architectures.
...
Only the decoding step is not bit-exact, so avoid checksum for that.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
13 years ago
Stefano Sabatini
815d8f8841
doc/muxers: add documentation for the md5 and framemd5 muxers
...
Address trac ticket #1153 .
13 years ago
Stefano Sabatini
60e4e430db
doc/muxers: clarify documentation for the framecrc muxer
...
Makes more explicit that framecrc works at the packet level, also prefers
the term "packet" over "frame" when it makes sense.
13 years ago
Stefano Sabatini
fd00662d5a
doc/muxers: update documentation for the framecrc muxer
...
Add mention to the pts and duration log fields, added in
d2afbd9a56
.
Fix trac ticket #1159 .
13 years ago
Stefano Sabatini
32b1022f76
doc/filters: remove reference to removed delogo wrapper
13 years ago
Stefano Sabatini
6cb01c9dba
lavfi/mp: remove remove_logo wrapper
...
removelogo has been ported to libavfilter, and the wrapper was not
working.
13 years ago
Stefano Sabatini
2f83681c79
lavfi: port libmpcodecs remove-logo filter
...
The code is based on the remove-logo filter in MPlayer/libmpcodecs, by
Robert Edele, relicensed to LGPL with consent of the author.
Address trac issue #249 .
13 years ago
Michael Niedermayer
087b9c326f
fate: try to force le for the dpx decoder side too
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Reimar Döffinger
6d3166fcf0
Add AAC FATE encode tests.
...
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
13 years ago
Reimar Döffinger
10e3dd15a5
Remove AAC and nellymoser tests that do not work.
...
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
13 years ago
Reimar Döffinger
796097c696
Add tests for audio encoders: aac, dca, ra144 and nellymoser.
...
The PSNR values are of varying usefulness, though at least
the DTS and AAC ones are useful with the right shift value.
Note: due to usage of floats some of these may fail on other
architectures.
In that case they should be converted into a CMD = stddev
FATE test, but it seems useful to try this way first.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
13 years ago
Reimar Döffinger
ecd7455e96
aacenc: Fix issues with huge values of bit_rate.
...
Do not pointlessly call ff_alloc_packet2 multiple times,
and fix an infinite loop by clamping the maximum
number of bits to target in the algorithm that does
not use lambda.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
13 years ago
Michael Niedermayer
76e8b336cd
proresenc_kostya: Mention likely ancestry in the license header.
...
As the encoder contained the same bug and has similar structure
to anatoliys encoder, it is possibly based on it.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
d40132dab3
proresenc_kostya: fix encoded mantissa.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
dd7d08ee89
proresenc_anatoly: fix encoded mantissa.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
e3b7079ddf
adpcmenc: fix encoded s_0 value.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
fe5b7db07a
build system: support setting avassert() assert_level
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
ab553612e7
put_bits: switch assert to av_assert2()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
3fb945a935
mpegpsenc: fix user specified mux rate
...
Fixes Ticket1175
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
b717f35bfb
fate: try to fix >8bit dpx reg test
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Martin Storsjö
d293e3464d
rtpdec_asf: Set the no_resync_search option for the chained asf demuxer
...
Searching for packet markers doesn't make sense for this use case,
where packets are fed one at a time to the demuxer.
This fixes playing back streams that have packets not starting
with the 0x82, 0x00, 0x00 marker.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Martin Storsjö
75b7feaeb4
asfdec: Add an option for not searching for the packet markers
...
Some streams don't contain these.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Martin Storsjö
1428527581
cosmetics: Clean up the tiffenc pix_fmts declaration to match the style of others
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Michael Niedermayer
2e0c360abd
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
cosmetics: Align muxer/demuxer declarations
mpeg12: Do not change frame_pred_frame_dct flag and demote error into a warning
avcodec: remove avcodec_guess_channel_layout()
avutil: Add av_get_default_channel_layout()
Conflicts:
doc/APIchanges
libavcodec/mpeg12.c
libavformat/cdg.c
libavformat/matroskaenc.c
libavformat/mpegts.c
libavformat/nuv.c
libavformat/wav.c
libavutil/audioconvert.c
libavutil/audioconvert.h
libavutil/avutil.h
Merged-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Martin Storsjö
00c3b67b8a
cosmetics: Align codec declarations
...
Also break some long lines, remove codec function placeholder comments
and add spaces in sample/pixel format lists.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Michael Niedermayer
bd128e9bff
exr: fix mixed declaration and statements.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Martin Storsjö
6d27d8b1dd
cosmetics: Convert mimic.c to utf-8
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Anton Khirnov
d4936548f4
avconv: remove an unused function parameter.
13 years ago
Anton Khirnov
4648fe6324
avconv: remove now pointless variables.
13 years ago
Anton Khirnov
e06d2dfcde
avconv: drop support for building without libavfilter.
...
Since the mandatory memcpy in vsrc_buffer has been eliminated, there
shouldn't be any significant reason to build without lavfi anymore.
This will make upcoming support for complex filtergraphs easier to do.
13 years ago
Reimar Döffinger
cbb7183498
tiny_psnr: allow searching for optimal shift value.
...
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
13 years ago
Reimar Döffinger
439c3d5bcc
nellymoserenc: fix crash due to memsetting the wrong area.
...
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Joakim Plate
ba24f12982
libavformat: Only require first packet to be known for audio/video streams
...
It can take a long time before subtitles or data streams show up,
so we shouldn't wait for those before assuming we have all info
for streams.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Reimar Döffinger
50361e5144
Add regression test for mov rtp hinting.
...
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
13 years ago
Reimar Döffinger
099a1875f0
dpxenc: also test 10 and 16 bit formats.
...
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
13 years ago
Reimar Döffinger
e8b1da007e
nellymoserenc: fix crash due to memsetting the wrong area.
...
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
13 years ago
Martin Storsjö
951e715ceb
avplay: Don't try to scale timestamps if the tb isn't set
...
If get_filtered_video_frame failed above, tb might not be
initialized at all, so don't scale using it.
This fixes cases where avplay could crash if aborting
avformat_find_stream_info with ctrl+c.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Martin Storsjö
20234a4bd7
cosmetics: Align muxer/demuxer declarations
...
Also add missing trailing commas, break long codec_tag lines and
add spaces in codec_tag declarations.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago