Reinhard Nissl
6ac9696e77
Remove a NAL unit's trailing zero bytes even when dst_length is 1.
...
Consider the following byte sequence
00 00 01 0a 00 00 00 01 09 ...
^ ^
A B
decode_nal() determines dst_length to be 1 (i. e. the byte between label
A and B above). However, this byte is a trailing zero byte as the spec
says the the current NAL unit is terminated by a byte sequence 00 00 00.
The current code used a loop to decrement dst_length accordingly. But the
loop doesn't start as the loop condition checks for dst_length > 1, which
should read dst_length > 0.
patch by Reinhard Nissl, rnissl gmx de
Originally committed as revision 8689 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Reinhard Nissl
ff82e429cb
scenario: A properly coded frame is followed by an end of sequence NAL unit,
...
i.e. the four bytes 00 00 01 0a.
When decode_nal() decodes the end of sequence NAL unit, it returns with
dst_length == 0. The original code leads to a return -1 which discards
the current properly decoded frame.
patch by Reinhard Nissl, rnissl gmx de
Originally committed as revision 8688 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Nicholas Tung
e4141433ea
Get rid of unnecessary pointer casts.
...
patch by Nicholas Tung, ntung ntung com
Originally committed as revision 8687 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
597cbdaf03
Only compile in Theora-specific functions if the Theora decoder has been
...
enabled. Also fixes some "defined but not used" warnings in that case.
Originally committed as revision 8685 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
6f6a3e2acb
cosmetics: Move one code block to save an #ifdef in the next commit.
...
Originally committed as revision 8684 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
d7455a1c18
Remove #if 0 code.
...
Originally committed as revision 8683 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
51cea49ab4
Fix compilation when Theora decoder is disabled, but VP3 is enabled.
...
Originally committed as revision 8682 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
0339fab8fc
Remove unused variable.
...
Originally committed as revision 8681 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Marco Gerards
90f2a1a03c
cosmetics: indentation fix
...
patch by Marco Gerards, mgerards xs4all nl
Originally committed as revision 8680 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
fb12fca35b
factorize & 0x0F
...
Originally committed as revision 8675 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
bee4f778ae
remove c93_ prefix from static functions in c93.c
...
Originally committed as revision 8674 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
fee9e80550
align vertically
...
Originally committed as revision 8672 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
43769d722a
shorter variable names
...
Originally committed as revision 8671 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
bbbd775714
general purpose var should be int
...
Originally committed as revision 8670 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
bce317498b
remove redundant comments
...
Originally committed as revision 8667 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
b0094722b2
remove useless debuging av_log()
...
Originally committed as revision 8666 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
dc338d173e
indention cleanup
...
Originally committed as revision 8665 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
d7cf44899f
use shorter names for the block type enum
...
Originally committed as revision 8664 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
ee77c2c922
cosmetic
...
Originally committed as revision 8663 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
949ed6bb30
use bytestream reader instead of bitstream for THP
...
5% smaller adpcm.o
20% faster
Originally committed as revision 8657 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Anssi Hannula
8e952e4d23
CRYO APC demuxer
...
patch by Anssi Hannula, anssi.hannula gmail com
Originally committed as revision 8656 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
204424a4c7
simplify
...
Originally committed as revision 8655 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
b736a365be
prev1/2 -> prev[2]
...
Originally committed as revision 8654 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
11d662666d
simplify
...
Originally committed as revision 8653 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
d9ddac2579
general purpose vars should be int
...
Originally committed as revision 8652 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
20f757076e
table[index][ch] -> table[ch][index] (might be faster ...)
...
Originally committed as revision 8651 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Nicholas Tung
1e6c67599e
Bethsoft VID demuxer and video decoder
...
patch by Nicholas Tung, ntung ntung com
Originally committed as revision 8649 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Ivo van Poorten
e5b5149603
Fix segmentation fault for gray16le to gray conversion.
...
Originally committed as revision 8648 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Nicholas Tung
587d07227e
Remove superfluous setting of has_b_frames in codecs without B-frames.
...
patch by Nicholas Tung, ntung ntung com
Originally committed as revision 8647 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Marco Gerards
d1e0d21f94
THP PCM decoder, used on the Nintendo GameCube.
...
patch by Marco Gerards, mgerards xs4all nl
Originally committed as revision 8646 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
efd2afc2ae
TIFF-LZW encoding support by (Bartlomiej Wolowiec b.wolowiec students mimuw edu pl)
...
Originally committed as revision 8645 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
f0790c59f4
LZW encoder by Bartlomiej Wolowiec b.wolowiec students mimuw edu pl
...
Originally committed as revision 8644 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Anssi Hannula
9a0ddd09e7
Interplay C93 demuxer and video decoder
...
patch by Anssi Hannula, anssi.hannula gmail com
Originally committed as revision 8643 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
fe0372296a
typos
...
Originally committed as revision 8642 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
e42dba481f
typos/grammar
...
Originally committed as revision 8641 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
f5bccd8574
spelling/wording/grammar
...
Originally committed as revision 8640 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Víctor Paesa
414425e064
Print a list of valid AMR bitrates if a wrong one is used.
...
patch by Víctor Paesa, wzrlpy arsystel com
Originally committed as revision 8639 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Kamil Nowosad
f4d47d6b30
YUV support patch by (Kamil Nowosad k.nowosad students mimuw edu pl)
...
Originally committed as revision 8638 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Kamil Nowosad
e780e99e5a
s/invert/photometric_interpretation/ patch by Kamil Nowosad k.nowosad students mimuw edu pl
...
Originally committed as revision 8637 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Xiaohui Sun
2d99eed135
SGI image decoder ported to the new image API.
...
patch by Xiaohui Sun, sunxiaohui dsp.ac cn
Originally committed as revision 8635 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Benoit Fouet
5558bda833
Return correct decoded size, decoder is called with only one frame at a time.
...
patch by Benoit Fouet, benoit.fouet purplelabs com
Originally committed as revision 8633 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
David Bateman
e8d0041701
IWMMXT-specific dsputils clear_blocks function.
...
patch by David Bateman, adb014 gmail com
Originally committed as revision 8632 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Kostya Shishkov
bcae1fd02e
This codec is PAL8 so make it output PAL8 too
...
Originally committed as revision 8630 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
0a7a33d239
remove compound literals gcc 2.95 doesnt support taking an address of a compound literal
...
and the current code was my fault as i suggested the student to use compound literals
beliving gcc 2.95 supports them completely ...
Originally committed as revision 8629 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Ian Braithwaite
5bd526d9ad
WMA decoder improvement, output closer to the dmo binary.
...
Patch by Ian Braithwaite ian braithwaite dot dk
[Ffmpeg-devel] WMA decoder improvement, 2007-03-28 15:50
Originally committed as revision 8627 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Kostya Shishkov
047549d382
vc1_split should be static
...
Originally committed as revision 8626 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Stefan Huehner
2b100ab2bf
changes some function declarations from () to (void) as per ansi c.
...
Patch by Stefan Huehner % stefan A huehner P org %
Originally committed as revision 8625 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
ee5c8a9bc4
Add some Doxygen comments, by Kamil Nowosad, k.nowosad students.mimuw.edu pl.
...
Originally committed as revision 8624 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
e7b85a15c8
cosmetics: Fix indentation.
...
Originally committed as revision 8622 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Benoit Fouet
8896cdd379
Remove useless pointer shift.
...
patch by Benoit Fouet, benoit.fouet purplelabs com
Originally committed as revision 8621 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago