Reimar Döffinger
b1e309865f
Change buffer check to avoid an unlikely pointer arithmetic overflow.
...
Originally committed as revision 18596 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
be50938073
Simplify xan_huffman_decode by using get_bits
...
Originally committed as revision 18595 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Lars Täuber
a4873f7d9d
Fix indention, patch by Lars Täuber.
...
Originally committed as revision 18594 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
6000439ca4
Simplify ipvideo_decode_opcodes by using get_bits, this might be slower
...
but is not performance-critical anyway.
Originally committed as revision 18593 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
28ab90edde
Remove unused code_counts array from interplavideo.c.
...
Originally committed as revision 18592 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Jai Menon
b24bbbb4da
Introduce codec id for MPEG-4 ALS and associate it with corresponding
...
AudioObjectType. Also bump libavcodec minor version.
Originally committed as revision 18591 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
e5986d0427
Cosmetics to improve xan_unpack readability
...
Originally committed as revision 18590 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
16cc5a738c
Fix buffer size check for xan_unpack which was broken by r18586
...
Originally committed as revision 18589 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
c644665f42
Some more simplifications of xan_unpack
...
Originally committed as revision 18588 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
455fdd2f8c
Reindent xan_unpack code
...
Originally committed as revision 18587 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
948f60fa24
Avoid some code duplication in xan_unpack
...
Originally committed as revision 18586 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
f371abe4a8
Remove useless assignments, at least one found by CSA.
...
Originally committed as revision 18585 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
59bd7f23e8
Increase buffer padding to avoid most space checks in xan_unpack
...
Originally committed as revision 18584 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
339cdf9681
Remove useless init from ff_mpeg4_set_direct_mv() found by CSA.
...
Originally committed as revision 18583 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
16a5f4caa9
Remove a useless assignment in img_get_alpha_info() found by CSA.
...
Originally committed as revision 18582 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
f8112810cf
Remove redundant assignment in av_picture_copy() found by CSA.
...
Originally committed as revision 18581 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
551b41d4bf
Remove useless init from aiff_read_header() found by CSA.
...
Originally committed as revision 18580 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
feda8550a9
Remove several useless writes to variables, found by CSA.
...
Originally committed as revision 18579 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
b278a1ed1c
Remove useless += from ff_imdct_half_c() found by CSA.
...
Originally committed as revision 18578 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
e8c9383914
Remove 2 ++ from check_pes() that are useless, found by CSA.
...
Originally committed as revision 18577 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
4b96f43fe1
Change buffer size checks to avoid the very unlikely overflow case.
...
Originally committed as revision 18576 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
38a7695f67
Remove unused variable from h261_encode_block() found by CSA.
...
Originally committed as revision 18575 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
5e12701c5c
Remove a pointless right-shift in xan decoder.
...
Originally committed as revision 18574 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
25ef00720b
Remove 2 useless assignments from ff_rate_control_init() found by CSA.
...
Originally committed as revision 18573 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
9126aea528
Replace bytecopy with the equivalent but faster av_memcpy_backptr.
...
Ca. 10% faster xan_unpack on x86_64 decoding of SC_32-part.MVE
Originally committed as revision 18572 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
4eec260642
Remove unused variable from flv_read_metabody() found by CSA.
...
Originally committed as revision 18571 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
29322398fc
Remove unused variable from slice_buffer_release() found by CSA.
...
Originally committed as revision 18570 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
44c9efcb57
Use memcpy instead of the very inefficient bytecopy where both are correct
...
(i.e. no overlap of src and dst is possible).
Originally committed as revision 18569 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
110baa2e99
Remove unused variable from wma_decode_block() found by CSA.
...
Originally committed as revision 18568 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
b716c6c6a6
Remove unneeded assignment from av_encode() found by CSA.
...
Originally committed as revision 18567 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
b5ee9c2334
Remove unused variable from print_report() found by CSA.
...
Originally committed as revision 18566 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
5ce73e2352
Remove nonsensical assignment from asf_read_seek() found by CSA.
...
Originally committed as revision 18565 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
87718654b1
Remove redundant assignment from avcodec_get_pix_fmt_loss() found by CSA.
...
Originally committed as revision 18564 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
956177fb1d
Remove unused variable in modify_qscale() found by CSA.
...
Originally committed as revision 18563 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
505b6d1147
Remove unneeded assignment in ffmpeg.c found by CSA.
...
Originally committed as revision 18562 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
75eaa91c15
Remove unused variables from slice_buffer_load_line() found by CSA.
...
Originally committed as revision 18561 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
6081c30b81
Remove 2 unneeded variables from common_init() found by CSA.
...
Originally committed as revision 18560 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
d0d62cc955
Remove 2 unused variables from MPV_decode_mb_internal() found by CSA.
...
Originally committed as revision 18559 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
dd08de11f6
Remove unused assignment from j_rev_dct() found by CSA.
...
Originally committed as revision 18558 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
01d83278e9
Remove unused variable in init_mv_penalty_and_fcode() found by CSA.
...
Originally committed as revision 18557 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
b33d75fd80
Move declarations in sync() closer to where they are used.
...
Originally committed as revision 18556 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
236580b478
Remove unused variable from asf_read_header() found by CSA.
...
Originally committed as revision 18555 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Kostya Shishkov
c994dae1e2
cosmetics: reindent after last commit
...
Originally committed as revision 18554 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Kostya Shishkov
bd4110f99b
Use new static VLC scheme in Indeo2, Musepack and WNV1 decoders
...
Originally committed as revision 18553 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ronald S. Bultje
1d0036b01f
Change another AVERROR(EIO) inot AVERROR_EOF, because it really signals EOF,
...
not a stream error. This also fixes an infinite loop on EOS during ASF file
playback, and Michael claims he "likes the patch" (ref: [PATCH] RTSP-MS
15/15: move packet_time_start zero value assignment in asf.c" mailinglist
tread).
Originally committed as revision 18552 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
72619760f0
Remvoe useless assignment found by CSA.
...
Originally committed as revision 18551 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
b52b6ae489
Remove unused variable from decode_init() found by CSA.
...
Originally committed as revision 18550 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Vitor Sessak
b0e37369a1
Remove useless assignment in generate_codebook(). Found by Clang static analyser.
...
Originally committed as revision 18549 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
806d5e61dc
Remove unused variables from ff_mjpeg_decode_sos() found by CSA.
...
Originally committed as revision 18548 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
c2394854ed
Remove useless assignment from h263_pred_dc() found by the clang static analyzer.
...
Originally committed as revision 18547 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago