Commit Graph

17419 Commits

Author SHA1 Message Date
Justin Ruggles
c5706efd57 flacdec: remove some unused code
Originally committed as revision 16749 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-24 15:46:19 +00:00
Diego Biurrun
dfcb6b56f9 Directly #include a bunch of indirectly #included headers.
Originally committed as revision 16748 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-24 14:55:30 +00:00
Diego Biurrun
da837937c6 Fix undefined preprocessor directives warnings during 'make checkheaders'.
Originally committed as revision 16747 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-24 14:52:46 +00:00
Diego Biurrun
175da7dab7 Add required headers to fix 'make checkheaders'.
Originally committed as revision 16746 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-24 14:46:00 +00:00
Stefan Gehrer
19e017f211 remove alloc_table_0 and alloc_table_2, the same
data exists in alloc_table_1 and alloc_table_3

Originally committed as revision 16745 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-24 14:32:22 +00:00
Stefan Gehrer
45beb850de remove zigzag_scan8x8, it is the same as ff_zigzag_direct
Originally committed as revision 16744 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-24 14:30:15 +00:00
Stefan Gehrer
3e7233688a avoid duplication of size_table and offset_table
Originally committed as revision 16743 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-24 14:28:08 +00:00
Stefan Gehrer
fa79489fd3 avoid duplication of dquant_code
Originally committed as revision 16742 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-24 14:26:40 +00:00
Benjamin Larsson
673bcc3d0a I'll take care of qdm2 also
Originally committed as revision 16741 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-24 10:52:26 +00:00
Stefan Gehrer
1ac63c2a9b return an error if we can not get a full packet,
fixes hang on EOF

Originally committed as revision 16740 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-24 08:20:42 +00:00
Vitor Sessak
e0df9e4425 Do not allocate RoqTempData on the stack
Originally committed as revision 16739 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-24 08:15:43 +00:00
Stefan Gehrer
c6f79c3e0b fix header parsing, the NULL terminated File ID is followed by a space
Originally committed as revision 16738 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-24 08:06:43 +00:00
Ronald S. Bultje
cb760a4790 Skip m= blocks in the SDP if the media type is unknown. This prevents
subsequent a= lines from the m= block to be applied to the previous
m= line, thus breaking otherwise functional RTP streams. See discussion in
[PATCH] RTSP-MS 7/15: parse and allow unknown m= line codes" thread on
mailinglist.

Originally committed as revision 16737 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-24 04:56:18 +00:00
Justin Ruggles
ce71d83ede add myself as a maintainer of flacdec.c
Originally committed as revision 16736 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-23 22:38:35 +00:00
Justin Ruggles
8f51144bf4 rename flac.c to flacdec.c
Originally committed as revision 16735 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-23 22:27:19 +00:00
Baptiste Coudurier
14120c95f0 set pts and dts when only pts is present, according to specs
Originally committed as revision 16734 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-23 22:16:31 +00:00
Baptiste Coudurier
6e4668b8a9 write essence container data
Originally committed as revision 16733 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-23 20:57:12 +00:00
Baptiste Coudurier
5e4aa542de reduce display aspect ratio
Originally committed as revision 16732 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-23 20:20:36 +00:00
Baptiste Coudurier
24d6a613e0 stored height is a multiple of 16 for mpeg2
Originally committed as revision 16731 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-23 20:15:46 +00:00
Baptiste Coudurier
e9338da87d fix endianness of time code, and calculate it in fields, according to specs
Originally committed as revision 16730 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-23 20:03:57 +00:00
Ben Littler
76af2edc44 add EM4A fourcc , works for:
http://av.watch.impress.co.jp/docs/20040929/xf.asf

Originally committed as revision 16729 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-23 12:17:40 +00:00
Andreas Öman
cf92cec7d8 Avoid allocating MPADecodeContext on stack.
Instead move relevant fields into MPADecodeHeader and use it
where appropriate.

Originally committed as revision 16728 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-23 12:09:32 +00:00
Michael Niedermayer
2d4eeaadc4 Workaround ffms behavior of returning EAGAIN at EOF.
Should fix regression tests & fate.

Originally committed as revision 16727 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-23 09:47:22 +00:00
Kostya Shishkov
1cae2ef9a6 Remove the block with always false condition from vc1_parse_frame_header()
Originally committed as revision 16726 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-23 06:33:04 +00:00
Kostya Shishkov
a28d522491 VC-1 postproc field is 2 bits wide while decoder read only single bit.
Spotted by Stephen Warren.

Originally committed as revision 16725 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-23 06:31:17 +00:00
Michael Niedermayer
3a41c2f769 Move av_read_frame/parser related buffer variables from AVFormatContext
to AVStream, this is required if we want to allow the user to pull frames
from specific streams at some point in the future.

Originally committed as revision 16724 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-22 23:35:31 +00:00
Justin Ruggles
959e000627 flacdec: add support for 3 additional sample rate codes
Originally committed as revision 16723 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-22 22:23:58 +00:00
Alex Converse
3c4ea6d5ab Mark ff_fft_init with av_cold.
Originally committed as revision 16722 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-22 19:48:10 +00:00
Alex Converse
8f05c995fd Clean up FFT related comments.
Originally committed as revision 16721 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-22 19:46:23 +00:00
Baptiste Coudurier
082491c473 print stream sar if present and different than codec sar
Originally committed as revision 16720 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-22 19:45:53 +00:00
Michael Niedermayer
a308737bd6 Use EAGAIN return, primarely intended as example of EAGAIN useage.
Originally committed as revision 16719 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-22 12:08:06 +00:00
Michael Niedermayer
cda6902d36 Handle av_read_frame() EAGAIN return.
Originally committed as revision 16718 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-22 12:06:02 +00:00
Michael Niedermayer
ad51c68c01 Handle av_read_frame() EAGAIN return.
Originally committed as revision 16717 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-22 12:04:01 +00:00
Baptiste Coudurier
4d6f600c58 Add const, remove warning:
libavcodec/audioconvert.c:190: warning: initialization discards qualifiers from pointer target type

Originally committed as revision 16716 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-22 00:31:26 +00:00
Diego Biurrun
7a845019c1 Avoid unused variable warning when compiling DES test program.
Originally committed as revision 16715 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-21 23:55:51 +00:00
Aurelien Jacobs
dce25564cc 'code' is used to index a table so make it unsigned
this prevents using negative index and possibly crashing with broken files

Originally committed as revision 16714 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-21 22:32:17 +00:00
Diego Biurrun
448887a6bb Make base64 test program compilable as a standard test program.
Originally committed as revision 16713 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-21 17:34:40 +00:00
Diego Biurrun
40f5cd89c9 Add void keyword to parameterless function declaration.
Originally committed as revision 16712 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-21 14:28:16 +00:00
Kostya Shishkov
d6da3df729 yet another attempt on fixing synchronization in VMD
Originally committed as revision 16711 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-21 13:27:39 +00:00
Kostya Shishkov
8d6fc274fa Empty audio chunks in VMD are silent, not skipped
Originally committed as revision 16710 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-21 13:26:01 +00:00
Kostya Shishkov
7d2b199b8d cosmetics: reindent after last commit
Originally committed as revision 16709 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-21 13:25:14 +00:00
Kostya Shishkov
716ba2d01c VMD first chunk of audio is not coded as many separate chunks of block_align
size. Thus, make demuxer and decoder handle it as a whole.

Originally committed as revision 16708 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-21 13:24:35 +00:00
Benoit Fouet
33054e35e3 Rename audio.c to oss_audio.c in libavdevice.
Originally committed as revision 16707 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-21 08:43:38 +00:00
Baptiste Coudurier
a848cfe97c fix seek reg tests, Im always forgetting this
Originally committed as revision 16706 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-21 00:36:34 +00:00
Carl Eugen Hoyos
0d9becc77c Sort VdpPictureInfo alphabetically.
Originally committed as revision 16705 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-20 22:53:25 +00:00
Baptiste Coudurier
6c7c44ee7a exit with error code if av_encode failed
Originally committed as revision 16704 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-20 21:09:51 +00:00
Baptiste Coudurier
f53ee31275 change sample aspect ratio test to be more clear, print old one
Originally committed as revision 16703 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-20 21:06:57 +00:00
Ben Littler
5823e4b8f6 another mpeg4 fourcc
Originally committed as revision 16702 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-20 16:19:13 +00:00
Baptiste Coudurier
507ff760af Do not use avctx->frame_number which might not be set,
this also fixes a side effect where its value was one too much.

Originally committed as revision 16701 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-20 09:43:58 +00:00
Carl Eugen Hoyos
27052238c0 Cosmetics: Fix indentation after last commit.
Originally committed as revision 16700 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-20 09:36:28 +00:00