Mashiat Sarker Shakkhar
ea0323b0fa
call revert_cdlms()
13 years ago
Mashiat Sarker Shakkhar
6cf31ef263
Fix some loop conditions to prevent overreads
13 years ago
Mashiat Sarker Shakkhar
a3a8d5e0c1
Initialize pred in lms_predict()
13 years ago
Clément Bœsch
2f0f9a87d0
Fix various if parenthesis misplacements.
13 years ago
Michael Niedermayer
4931c8f0f1
svq1dec: call avcodec_set_dimensions() after dimensions changed.
...
Fixes NGS00148
Found-by: Phillip Langlois
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
eef5c35b43
vp3dec: Check coefficient index in vp3_dequant()
...
Fixes NGS00145
Found-by: Phillip Langlois
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
895d258e9b
qdm2dec: fix buffer overflow.
...
Fixes NGS00144
Thanks to Phillip for suggestions to improve the patch.
Found-by: Phillip Langlois
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Justin Ruggles
a8fe9a7242
pthread: add some malloc failure checks
13 years ago
Michael Niedermayer
919c00ba5a
alsdec: update checked AV_EF flags.
...
A user who wishes to use default error concealment cannot set the
AV_EF_CRCCHECK flag because not every CRC in every format is a
reliable indicator of bitstream damage. In some formats crcrs
can be nonsensical in absence of any damage. We thus add the
AV_EF_CAREFUL flag in addition to the AV_EF_CRCCHECK flag to
allow a user to enable this reliable CRC check without having to
enable all CRC checks in all formats.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
833a195905
h264: Fix invalid interlaced progressive MB combinations for direct mode prediction.
...
Fixes Ticket312
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
15a686b714
h263: make default color black, like flv
...
Fixes Ticket126
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
50d6f81956
mpegvideo: dont use ff_mspel_motion() for vc1
...
Fixes Ticket655
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Mashiat Sarker Shakkhar
7a9807dea4
Clean-up
13 years ago
Mashiat Sarker Shakkhar
3e2f664b99
dump_int_buffer() to dump samples from a buffer
13 years ago
Mashiat Sarker Shakkhar
caf9eb85b1
Implement revert_cdlms()
13 years ago
Mashiat Sarker Shakkhar
d47782df26
Doxy for reset_codec()
13 years ago
Mashiat Sarker Shakkhar
3e4901b24e
Store transient state and position of transient area
13 years ago
Mashiat Sarker Shakkhar
3f3d2b5f65
Implement use_high_update_speed() and use_normal_update_speed()
13 years ago
Mashiat Sarker Shakkhar
1e0db1c52a
Initialize num_logged_tiles and remove unnecessary codes
13 years ago
Mashiat Sarker Shakkhar
5b2680a2af
Log index for each line of output
13 years ago
Mashiat Sarker Shakkhar
a7c31f1595
Log tile size
13 years ago
Mashiat Sarker Shakkhar
d5aef477e6
Output decoded residues
13 years ago
Mashiat Sarker Shakkhar
f3d349f697
Replace placeholders with actual calls to clear_codec_buffers() and reset_codec()
13 years ago
Mashiat Sarker Shakkhar
269a0dee19
Implement lms_update()
13 years ago
Mashiat Sarker Shakkhar
0faae518e9
Implement lms_predict()
13 years ago
Mashiat Sarker Shakkhar
03684c8ff3
Implement reset_codec()
13 years ago
Mashiat Sarker Shakkhar
93d2cabd61
Add missing syntax elements to WmallDecodeCtx
13 years ago
Mashiat Sarker Shakkhar
79b16e780d
Add .recent syntax element to cdlms struct
13 years ago
Mashiat Sarker Shakkhar
87b9c23b9a
Implement clear_codec_buffers()
13 years ago
Mashiat Sarker Shakkhar
d58db7207d
Add buffers to context necessary for reverting cdmls and mclms filter
13 years ago
Mashiat Sarker Shakkhar
a80a10bd73
Use avpriv_copy_bits() instead of ff_copy_bits()
13 years ago
Mashiat Sarker Shakkhar
374582acfe
Cosmetics
13 years ago
Mashiat Sarker Shakkhar
fa3e0190f9
Add missing ff_ before the AVCodec struct for wmalossless
13 years ago
Andreas Öman
4d9d9a443f
wmall: Working bitstream parser
13 years ago
Michael Niedermayer
c88bdafe25
lavc: translate FF_ER_EXPLODE to AV_EF_EXPLODE|COMPLIANT
...
This is most likely what the user wants.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Justin Ruggles
f3a29b750a
avcodec: move some AVCodecContext fields to an internal struct.
...
A new field, AVCodecContext.internal is used to hold a new struct
AVCodecInternal, which has private fields that are not codec-specific and are
used by general libavcodec functions.
Moved internal_buffer, internal_buffer_count, and is_copy.
13 years ago
Justin Ruggles
513b691955
avcodec: use av_opt_set() instead of deprecated av_set_string3()
13 years ago
Justin Ruggles
fa9aeb82e2
avcodec: fix some const warnings
...
libavcodec/options.c:583: warning: assignment discards qualifiers from pointer
target type
libavcodec/options.c:589: warning: initialization discards qualifiers from
pointer target type
13 years ago
Justin Ruggles
86d3730360
avcodec: remove pointless AVOption, internal_buffer_count
13 years ago
Michael Niedermayer
0af8d20755
h261dec: correct AV_EF flags.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
b0ccebe448
mpeg12dec: correct AV_EF flags.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
7fbe87c079
lavc: remove incorrect mapping between semantically incompatible error recognization values and flags.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
85ab33b87f
mpegaudeiodec: correct AV_EF flags.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
02bd11e969
lavc: Add AV_EF flags to restore support for the error_resilience framework in the new API.
...
The existing flags prior to this have a semantically different meaning and cannot be
used.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Bradshaw
1b987c4bb0
Applied patches from Michael Niedermayer to clean up the code
13 years ago
Joakim Plate
babf4fe01a
Don't fill in frame gaps with copied refs after flush
...
The filled in refs cause corruptions in the video frame
for a long time after it should have recovered.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
14db3af4f2
qdm2dec: check remaining input bits in the mainloop of qdm2_fft_decode_tones()
...
This is neccessary but likely not sufficient to prevent out of array reads.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Luca Barbato
b7d939d998
cinepack: return non-generic errors
13 years ago
Michael Niedermayer
a4009c6a9a
cinepak: remove redundant coordinate checks
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Michael Niedermayer
867b496681
cinepak: check strip_size
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago