Commit Graph

3943 Commits

Author SHA1 Message Date
Aurelien Jacobs
eb9cf50a74 matroska: add support for most variants of PCM
Originally committed as revision 14862 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-20 00:49:45 +00:00
Aurelien Jacobs
b49d17b77a matroskadec: handle EBML_ID_VOID and EBML_ID_CRC32 in a generic way
Originally committed as revision 14861 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-20 00:44:25 +00:00
Ronald S. Bultje
ba99cfc213 Implement url_open_protocol(), which is basiclly the former url_open()
but which opens a URLProtocol instead of a filename. url_open() is
reimplemented to call url_open_protocol(). See discussion on
"url_open_protocol" on ffmpeg-devel.

Originally committed as revision 14857 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-19 23:44:23 +00:00
Zhentan Feng
fda0d4afa7 Ok-ed parts from patch by zhentan feng.
Originally committed as revision 14854 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-19 22:01:57 +00:00
Zhentan Feng
1b0732ea64 Remove useless #ifdef DEBUG (patch by Zhentan Feng).
Originally committed as revision 14853 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-19 21:58:47 +00:00
Stefano Sabatini
745b39d5f9 Replace invocations of av_fifo_realloc(), which is going to be
deprecated, with corresponding invocations of av_fifo_realloc2().

Originally committed as revision 14848 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-19 18:49:57 +00:00
Zhentan Feng
2c8d438893 Ok-ed parts from patch by zhentan feng.
Originally committed as revision 14839 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-19 12:36:17 +00:00
Peter Ross
b1c00341a5 Make AIFF demuxer handle F32BE and F64BE PCM audio.
Originally committed as revision 14837 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-19 11:05:29 +00:00
Peter Ross
a1ef2c4bb3 Make MOV demuxer handle F32BE, F32LE, F64BE and F64LE PCM audio.
Originally committed as revision 14836 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-19 11:00:40 +00:00
Peter Ross
57406d8eb8 Make RIFF-based demuxers handle F32LE and F64LE PCM audio.
Originally committed as revision 14835 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-19 10:54:30 +00:00
Peter Ross
7b21690a91 Make AU demuxer handle S24BE, S32BE and F64BE PCM audio.
Originally committed as revision 14834 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-19 10:49:38 +00:00
Zhentan Feng
e48891bd9b Ok-ed parts from patch by zhentan feng.
Originally committed as revision 14827 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-18 18:11:00 +00:00
Zhentan Feng
c69968b4fe Factorize common code out of the mxf demuxer.
Patch by zhentan feng.

Originally committed as revision 14826 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-18 17:54:18 +00:00
Peter Ross
fc7ed9a6f6 Support Electronic Arts files containing MP3 audio.
Originally committed as revision 14824 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-18 12:39:57 +00:00
Dave Yeo
e748e34dd6 struct timeval requires #include <sys/time.h>
patch by Dave Yeo  daveryeo _at_ telus _dot_ net

Originally committed as revision 14793 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-16 18:39:30 +00:00
Michael Niedermayer
3cffbe090a Fix rc_eq mem leak.
Originally committed as revision 14788 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-16 14:46:31 +00:00
Diego Biurrun
4c00864f31 Surround format-specific functions with matching preprocessor conditionals.
Originally committed as revision 14783 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-15 19:24:55 +00:00
Diego Biurrun
7402ee234a Surround AVInputFormat declarations with format-specific #ifdefs.
Originally committed as revision 14782 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-15 17:28:20 +00:00
Diego Biurrun
964454263c Replace generic CONFIG_MUXERS preprocessor condition around format-specific
functions by more appropriate format-specific preprocessor conditions.

Originally committed as revision 14781 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-15 16:54:27 +00:00
Diego Biurrun
bcb5430abe Replace generic CONFIG_MUXERS preprocessor conditions around AVOutputFormat
declarations by more specific CONFIG_FOOBAR_MUXER conditions.

Originally committed as revision 14780 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-15 16:48:05 +00:00
Diego Biurrun
082f7acfc4 cosmetics: Remove redundant #endif comments that are very close to the #ifdef
condition.  This will make upcoming diffs smaller.

Originally committed as revision 14779 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-15 16:37:59 +00:00
Diego Biurrun
fb9f111710 cosmetics: misc spelling fixes
Originally committed as revision 14778 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-15 16:33:12 +00:00
Michael Niedermayer
ff9c8d7c6f Add flag to mark demuxers that can output discontinuous timestamps.
(could also be added to muxers if someone wants)

Originally committed as revision 14777 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-15 16:13:05 +00:00
Aurelien Jacobs
a964e813a1 use h_addr_list[0] instead of h_addr as this is the posix hostent field name
Originally committed as revision 14768 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-14 22:36:05 +00:00
Aurelien Jacobs
7246177d80 ensure we get explicit definition of various _XOPEN_SOURCE functions we use
Originally committed as revision 14766 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-14 22:01:59 +00:00
Baptiste Coudurier
b5f46e9340 import ok'd hunks for mxf muxer
Originally committed as revision 14765 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-14 21:48:02 +00:00
Kurtnoise
7139bfa8fe Surround '#include <sys/select>' by HAVE_SYS_SELECT_H.
patch by Kurtnoise, kurtnoise free fr

Originally committed as revision 14756 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-14 14:29:18 +00:00
Anuradha Suraparaju
67a38cee37 Change Dirac in MPEG-TS encapsulation to conform with spec changes.
patch by Anuradha Suraparaju, anuradha rd.bbc.co uk

Originally committed as revision 14753 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-14 11:17:23 +00:00
Michael Niedermayer
3c9769a008 Do not fill the pts reordering buffer with guessed dts.
These values should not matter at all in principle because they
do not correspond to the time of display of any frame but it seems
ffmpeg becomes confused by them if they are far off and its not
strictly correct to set them to guessed values.
Fixes video_stalls_at_start.wmv

Originally committed as revision 14746 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-14 03:24:58 +00:00
Aurelien Jacobs
5df3cc6f80 matroskadec: list some more ebml IDs found in the wild and that we ignore
This avoid printing some warnings about unknow IDs while we in fact know
the IDs but just want to knowingly ignore them.

Originally committed as revision 14738 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-13 21:15:15 +00:00
Anuradha Suraparaju
f4bba2015a Dirac encapsulation in MPEG-TS
patch by Anuradha Suraparaju, anuradha rd.bbc.co uk

Originally committed as revision 14734 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-13 19:29:35 +00:00
Diego Biurrun
2485abe281 Remove unused variable.
Originally committed as revision 14731 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-13 18:32:16 +00:00
Aurelien Jacobs
ea452b54f0 strcasecmp() requires #include <strings.h>
Originally committed as revision 14728 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-13 17:22:53 +00:00
Aurelien Jacobs
131f1cb2a9 matroskadec: parse available blocks even when cluster parsing failed
This way, we still read the few complete blocks out of a truncated
cluster at the end of a truncated file.

Originally committed as revision 14723 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-13 09:36:45 +00:00
Michael Niedermayer
0e55ba723b Add needed include, make it compile without -D_BSD_SOURCE.
Originally committed as revision 14718 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-12 21:02:37 +00:00
Baptiste Coudurier
0d84a8f6ae increase MAX_REORDER_DELAY and pts_buffer size to 16, max for h264 atm
Originally committed as revision 14715 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-12 17:28:00 +00:00
Baptiste Coudurier
cb5b96cde0 Prevent dts generation code to be executed when delay is > MAX_REORDER_DELAY,
this fixes overflow in AVStream->pts_buffer.

Originally committed as revision 14714 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-12 17:26:36 +00:00
Peter Ross
ebc22cc29f Electronic Arts demuxer: support SxEN audio tags found in 'Need for Speed: Pro Street' computer game.
Originally committed as revision 14713 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-12 12:36:00 +00:00
Peter Ross
6819af8245 Electronic Arts demuxer: perform identification of ADPCM EA R2 codec using revision2 flag.
Originally committed as revision 14710 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-12 08:35:09 +00:00
Peter Ross
a07f117804 Electronic Arts demuxer: ignore PTxx platform ID values.
Originally committed as revision 14709 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-12 08:33:32 +00:00
Peter Ross
d3302b7011 Support Electronic Arts files containing MPEG2VIDEO.
Originally committed as revision 14708 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-12 08:32:59 +00:00
Benjamin Larsson
1b46683c80 FOURCC addition: added 3IV2, another mpeg4 id. incoming/video_3iv2/video_3iv2.avi
Originally committed as revision 14681 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-10 15:34:29 +00:00
Peter Ross
d9d9a8c028 Add MDEC tags to Electronic Arts demuxer.
Originally committed as revision 14679 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-10 01:58:46 +00:00
Stefano Sabatini
8163c870b0 Cosmetics: move at the beginning of the file the av_frac_* functions, avoid
the forward declarations.

Originally committed as revision 14677 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-10 00:28:56 +00:00
Aurelien Jacobs
44015c56a6 matroskadec: add basic tags support (metadata)
Originally committed as revision 14672 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-08 23:50:38 +00:00
Stefano Sabatini
c97429e22b Implement avformat_version().
Originally committed as revision 14667 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-08 18:40:50 +00:00
Baptiste Coudurier
b80b569242 remove mxf.c, previously copied to mxfdec.c
Originally committed as revision 14661 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-07 17:33:53 +00:00
Baptiste Coudurier
d09ea6baaf rename mxf.c to mxfdec.c
Originally committed as revision 14655 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-07 02:12:14 +00:00
Måns Rullgård
5c5b1731b7 Maintain pointer to end of AVFormatContext.packet_buffer list
This changes add_to_pktbuf() to maintain a pointer to the last entry
in the list, avoiding a linear walk-through on each call.  Before this
change, add_to_pktbuf() could take a significant amount of time (10%
of total decoding time), even with input files of several minutes.
After the change, the time spent in this function is barely measurable
with oprofile.

Originally committed as revision 14654 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-06 22:17:38 +00:00
Peter Ross
bbf020e977 Add Electronic Arts TGV chunk tags to EA demuxer.
Originally committed as revision 14643 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-06 08:34:35 +00:00
Aurelien Jacobs
00a3431cbb matroskadec: use av_freep(&x) instead of av_free(x);x=NULL
Originally committed as revision 14633 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-06 00:21:10 +00:00
Anton Khirnov
b87025399c matroskadec: replace matroska_queue_packet with a single call to dynarray_add
patch by Anton Khirnov  wyskas _at_ gmail _dot_ com

Originally committed as revision 14632 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-06 00:17:47 +00:00
Diego Biurrun
95aad5d1f1 Fix small typo.
Originally committed as revision 14628 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-05 21:46:10 +00:00
Peter Ross
4e0e6888a4 Support muxing of Zork PCM audio into RIFF formats.
Originally committed as revision 14617 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-05 10:38:25 +00:00
Diego Biurrun
5968d2dd1e misc spelling/grammar fixes
Originally committed as revision 14616 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-05 08:28:57 +00:00
Aurelien Jacobs
cc70d14b3d matroskadec: remove useless num_streams
Originally committed as revision 14611 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-05 00:43:01 +00:00
Aurelien Jacobs
88cca98947 matroskadec: expand useless ebml_read_element_id() wrapper
Originally committed as revision 14610 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-05 00:42:58 +00:00
Aurelien Jacobs
33ac07ea08 matroskadec: simplify matroska_ebmlnum_sint()
Originally committed as revision 14609 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-05 00:42:55 +00:00
Aurelien Jacobs
c1e01133f6 matroskadec: implement matroska_ebmlnum_uint() using ebml_read_num()
Originally committed as revision 14608 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-05 00:42:52 +00:00
Aurelien Jacobs
cc8be50637 matroska: expand useless define for MS compat codec id strings
Originally committed as revision 14607 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-05 00:42:49 +00:00
Aurelien Jacobs
20fb02c5b9 matroskadec: remove useless comments in ff_mkv_codec_tags
Originally committed as revision 14606 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-05 00:42:46 +00:00
Aurelien Jacobs
ff33c5c565 matroskadec: update copyright year and related comments
Originally committed as revision 14605 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-05 00:42:43 +00:00
Aurelien Jacobs
737c40da20 matroskadec: reorder some functions in a more logical order
Originally committed as revision 14604 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-05 00:42:39 +00:00
Aurelien Jacobs
1b6d23bbcb matroskadec: remove now useless wrapper ebml_read_element_length()
Originally committed as revision 14603 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-05 00:42:36 +00:00
Aurelien Jacobs
66cfc3856c matroskadec: remove now useless wrapper ebml_read_seek()
Originally committed as revision 14602 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-05 00:42:33 +00:00
Aurelien Jacobs
5c5373cea4 matroskadec: remove now useless peek_id
Originally committed as revision 14601 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-05 00:42:29 +00:00
Aurelien Jacobs
3879763833 matroskadec: don't try to re-read already parsed ID in matroska_parse_cluster()
Originally committed as revision 14600 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-05 00:42:26 +00:00
Aurelien Jacobs
6314cca006 matroskadec: remove now unused parameter 'once' from ebml_parse_nest()
Originally committed as revision 14599 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-05 00:42:23 +00:00
Aurelien Jacobs
c4d3d9ba95 matroskadec: directly use ebml_parse() or ebml_parse_id() where it's enough
Originally committed as revision 14598 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-05 00:42:20 +00:00
Aurelien Jacobs
66a37e060b matroskadec: new ebml_parse() function, centralize ebml_read_element_id() calls
Originally committed as revision 14597 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-05 00:42:17 +00:00
Aurelien Jacobs
9bcb92ca6b matroskadec: rename ebml_parse() to ebml_parse_nest()
Originally committed as revision 14596 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-05 00:42:13 +00:00
Aurelien Jacobs
c005b3f224 matroskadec: don't care about the number of bytes read by ebml_read_element_id()
Originally committed as revision 14595 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-05 00:42:10 +00:00
Aurelien Jacobs
592110c26c matroskadec: simplify check for hierarchy level
Originally committed as revision 14594 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-05 00:42:08 +00:00
Aurelien Jacobs
f7b9687cbb matroskadec: cosmetics: consistent style for function declarations
Originally committed as revision 14593 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-05 00:42:05 +00:00
Aurelien Jacobs
104be2404e matroskadec: Use string instead of char table as probe data comparison source.
Originally committed as revision 14592 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-05 00:42:02 +00:00
Aurelien Jacobs
eb05caccf2 matroskadec: use an EbmlBin as parameter to ebml_read_binary()
Originally committed as revision 14591 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-05 00:41:59 +00:00
Aurelien Jacobs
c6cd2b3d22 matroskadec: extract common code out of ebml_read_*()
Originally committed as revision 14590 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-05 00:41:55 +00:00
Aurelien Jacobs
ba5a1f99cc matroskadec: simplify/cleanup error logging in ebml_read_*()
Originally committed as revision 14589 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-05 00:41:52 +00:00
Aurelien Jacobs
54d8869d3a matroskadec: remove now useless expected_id parameter from ebml_parse()
Originally committed as revision 14588 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-05 00:41:50 +00:00
Aurelien Jacobs
4dc9e183dd matroskadec: expand useless ebml_peek_id() wrapper
Originally committed as revision 14587 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-05 00:41:46 +00:00
Aurelien Jacobs
3856e7c4aa matroskadec: remove unused levelup parameter from ebml_read_element_id()
Originally committed as revision 14586 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-05 00:41:43 +00:00
Aurelien Jacobs
44cea7651b matroskadec: extract read_level_up out of ebml_read_element_id
Originally committed as revision 14585 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-05 00:41:40 +00:00
Aurelien Jacobs
dfde36a33e matroskadec: remove useless levelup check
Originally committed as revision 14584 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-05 00:41:37 +00:00
Aurelien Jacobs
051ef5cef5 matroskadec: remove useless check for cluster presence
Originally committed as revision 14583 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-05 00:41:34 +00:00
Aurelien Jacobs
28ba69e097 matroskadec: cosmetics: placement of 'else if'
Originally committed as revision 14582 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-05 00:41:31 +00:00
Aurelien Jacobs
7eb9b068eb matroskadec: remove some useless empty lines
Originally committed as revision 14581 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-05 00:41:28 +00:00
Aurelien Jacobs
5efc8ec850 matroskadec: remove some useless or out of date comments
Originally committed as revision 14580 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-05 00:41:25 +00:00
Aurelien Jacobs
8f35a2c022 matroskadec: cosmetics
Originally committed as revision 14579 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-05 00:41:22 +00:00
Aurelien Jacobs
c171af9bd7 matroskadec: remove unused struct name
Originally committed as revision 14578 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-05 00:41:19 +00:00
Aurelien Jacobs
1e49ee4270 matroskadec: remove now unused context fields
Originally committed as revision 14577 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-05 00:41:16 +00:00
Aurelien Jacobs
70109c0d48 matroskadec: remove useless initialization
Originally committed as revision 14576 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-05 00:41:13 +00:00
Aurelien Jacobs
16f97ab050 matroskadec: cosmetics: remove useless braces
Originally committed as revision 14575 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-05 00:41:10 +00:00
Aurelien Jacobs
3143f13345 matroskadec: remove some unused ebml funcs
Originally committed as revision 14574 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-05 00:41:07 +00:00
Aurelien Jacobs
209472b45d matroskadec: use generic parser to parse clusters
Originally committed as revision 14573 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-05 00:41:05 +00:00
Aurelien Jacobs
f06a488647 matroskadec: use generic parser inside matroska_execute_seekhead()
Originally committed as revision 14572 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-05 00:41:01 +00:00
Aurelien Jacobs
ce6f28bd35 matroskadec: use generic parser to parse matroska from toplevel
Originally committed as revision 14571 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-05 00:40:58 +00:00
Aurelien Jacobs
9c25bafacb matroskadec: move context settings to matroska_read_header()
Originally committed as revision 14570 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-05 00:40:55 +00:00
Aurelien Jacobs
d88d806bd1 matroskadec: cosmetics: indentation of matroska_read_header()
Originally committed as revision 14569 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-05 00:40:52 +00:00
Aurelien Jacobs
9a9a3b03a6 matroskadec: move declaration to upper block
Originally committed as revision 14568 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-05 00:40:49 +00:00
Aurelien Jacobs
a636a56bf4 matroskadec: invert a test
Originally committed as revision 14567 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-05 00:40:46 +00:00
Aurelien Jacobs
4348571b1a matroskadec: cosmetics: indentation of matroska_execute_seekhead()
Originally committed as revision 14566 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-05 00:40:43 +00:00
Aurelien Jacobs
82113343a7 matroskadec: remove useless dummy_level variable
Originally committed as revision 14565 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-05 00:40:40 +00:00
Aurelien Jacobs
13b350a3a4 matroskadec: use generic parser to parse seekhead
Originally committed as revision 14564 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-05 00:40:36 +00:00
Aurelien Jacobs
8ecdab8f5a matroskadec: declare var where it's used
Originally committed as revision 14563 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-05 00:40:33 +00:00
Aurelien Jacobs
2cbc8811ab matroskadec: use generic parser to parse tracks
Originally committed as revision 14562 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-05 00:40:31 +00:00
Aurelien Jacobs
29708581fc matroskadec: use generic parser to parse info
Originally committed as revision 14561 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-05 00:40:27 +00:00
Aurelien Jacobs
b414cb892e matroskadec: use generic parser to parse attachments
Originally committed as revision 14560 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-05 00:40:24 +00:00
Aurelien Jacobs
6bbd7c7b79 matroskadec: use generic parser to parse chapters
Originally committed as revision 14559 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-05 00:40:21 +00:00
Aurelien Jacobs
434d496a8a matroskadec: use generic parser to parse tags
Originally committed as revision 14558 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-05 00:40:18 +00:00
Aurelien Jacobs
e5929fdf62 matroskadec: use generic parser to parse index
Originally committed as revision 14557 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-05 00:40:15 +00:00
Aurelien Jacobs
009ecd504e matroskadec: return pointer instead of index in matroska_find_track_by_num()
Originally committed as revision 14556 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-05 00:40:12 +00:00
Aurelien Jacobs
28f450a992 matroskadec: create new AVStream earlier
Originally committed as revision 14555 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-05 00:40:09 +00:00
Aurelien Jacobs
fc4d335f6d matroskadec: store an AVStream pointer instead of a stream index
Originally committed as revision 14554 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-05 00:40:06 +00:00
Aurelien Jacobs
6351132435 matroskadec: use generic ebml parser to parse ebml header
Originally committed as revision 14553 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-05 00:40:02 +00:00
Aurelien Jacobs
789ed100d7 matroskadec: add an ebml generic parser
Originally committed as revision 14552 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-05 00:40:00 +00:00
Aurelien Jacobs
6e35ae2a74 matroskadec: remove unused is_bframe flag
Originally committed as revision 14551 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-05 00:39:55 +00:00
Aurelien Jacobs
4eff97439b matroskadec: simplify flag default
Originally committed as revision 14550 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-05 00:39:53 +00:00
Aurelien Jacobs
ead3006257 matroskadec: remove storage of various unused flags
Originally committed as revision 14549 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-05 00:39:50 +00:00
Aurelien Jacobs
5f8e022701 matroskadec: use more robust av_strlcpy() instead of strcpy()
Originally committed as revision 14548 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-05 00:39:47 +00:00
Peter Ross
51c3861e16 Add D-Cinema audio muxer
Originally committed as revision 14531 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-04 07:35:07 +00:00
Baptiste Coudurier
021b8ae39b fix if/else case
Originally committed as revision 14526 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-03 21:24:30 +00:00
Baptiste Coudurier
2288834f87 full lpcm support in mov audio stsd v2
Originally committed as revision 14524 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-03 18:37:35 +00:00
Justin Ruggles
14b7062829 cosmetics: make all references to AC-3 capitalized and hyphenated
Originally committed as revision 14523 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-03 16:42:32 +00:00
Justin Ruggles
2d47c3de98 remove a comment which is no longer true
Originally committed as revision 14522 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-03 16:41:52 +00:00
Baptiste Coudurier
aaef2bb345 support big endian lpcm with audio stsd v2
Originally committed as revision 14507 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-02 03:45:23 +00:00
Baptiste Coudurier
6b477e1b71 keep original codec/fourcc endianness, fix XDCAMHD.mov
Originally committed as revision 14506 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-02 03:43:36 +00:00
Baptiste Coudurier
9184d53a03 more complete audio stsd v2
Originally committed as revision 14505 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-02 03:40:13 +00:00
Baptiste Coudurier
5ef3ad59f2 move version specific parsing code before codec specific code, will be needed
Originally committed as revision 14504 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-02 03:35:43 +00:00
Michael Niedermayer
758af9868e Recommit r14497
Log:
	Add missing header #includes.
Limited to ffm.h & swf.h which are maintained by baptiste who requested that
version to be kept.

Originally committed as revision 14501 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-01 23:12:10 +00:00
Michael Niedermayer
c5e56a813b Revert r14497
Log:
	Add missing header #includes.
Policy violation (change not approved by maintainer)
and while discussions where ongoing and no consensus has been reached.

Originally committed as revision 14500 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-01 22:29:29 +00:00
Diego Biurrun
2e11268ea9 Add missing header #includes.
Originally committed as revision 14497 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-01 16:29:26 +00:00
Art Clarke
138568e9da downgrade mov negative ctts log message to warning, patch by Art Clarke, aclarke at vlideshow dot com
Originally committed as revision 14492 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-31 19:44:42 +00:00
Baptiste Coudurier
39a127bfbc Only reset buffer state if seeking is successful; update seek reg ref.
Originally committed as revision 14491 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-31 19:40:06 +00:00
Baptiste Coudurier
d701934bef check url_fseek return value
Originally committed as revision 14490 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-31 18:12:37 +00:00
Baptiste Coudurier
aaec4e03e9 check url_fseek return value, update seek reg tests
Originally committed as revision 14489 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-31 18:02:55 +00:00
Baptiste Coudurier
22e7d9cc25 skip flv video info / command frame packets, fix issue #546
Originally committed as revision 14480 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-31 02:26:40 +00:00
Baptiste Coudurier
62f2523062 change assert test due to the new reducing of time_base in av_set_pts_info, fix #561
Originally committed as revision 14477 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-30 21:07:54 +00:00
Peter Ross
af8ed96f45 EA Demuxer: make rev2 flag optional
Originally committed as revision 14474 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-30 07:41:32 +00:00
Baptiste Coudurier
f07fd8c08c add a bunch of new xdcam hd422 fourccs
Originally committed as revision 14473 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-30 01:55:59 +00:00
Baptiste Coudurier
7fc628cad9 more hdv fourccs
Originally committed as revision 14472 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-30 01:41:12 +00:00
Baptiste Coudurier
138ef0a9a2 update hdv fourcc descriptions
Originally committed as revision 14471 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-30 01:39:20 +00:00
Stefano Sabatini
c16184e9ba Fix a typo in sdp_write_header(): change "IPV4", which is not a valid
network address type, to "IP4".

Originally committed as revision 14465 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-29 10:45:53 +00:00
Michael Niedermayer
452a398fd6 Fix misdetection of H.264 in mpegts as mpeg1video in mpegts.
Fixes maybeH264_dumpstream

Originally committed as revision 14445 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-27 23:06:22 +00:00
Stefano Sabatini
af274fd1e1 Improve long names for FFM muxer and demuxer:
change "ffm format" to "FFM (FFserver live feed) format".

Originally committed as revision 14438 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-27 20:59:40 +00:00
Aurelien Jacobs
d3d265b288 matroska: add support for A_QUICKTIME/QDM2 codec
Originally committed as revision 14430 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-27 15:12:00 +00:00
Aurelien Jacobs
f009e36f75 matroska: add support for V_QUICKTIME track type
Originally committed as revision 14429 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-27 15:11:04 +00:00
Michael Niedermayer
01037451f9 Detect IDR less H.264 correctly.
Fixes maybeH264_dumpvideo

Originally committed as revision 14424 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-26 18:54:26 +00:00
Peter Ross
249f324364 Support 32-bit floating point audio samples in Sun AU demuxer
Originally committed as revision 14410 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-26 07:09:44 +00:00
Joakim Plate
4c8e5dfcc5 Fix handling of old nuv files where an aspect of 1 actually means 4/3
Patch by elupus (elupus ecce se)

Originally committed as revision 14382 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-25 04:10:32 +00:00
Joakim Plate
3a459ebe35 aspect stored in nuv files must be converted from display- to sample-aspect.
Patch by elupus (elupus ecce se)

Originally committed as revision 14375 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-24 18:40:43 +00:00
Diego Biurrun
ca74c0a180 cosmetics: Fix two common typos: wont --> will not, lets --> let us.
Originally committed as revision 14372 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-24 17:09:28 +00:00
John Schmiederer
ec072669f7 Use tkhd matrix for proper display in mov.
Patch by John Schmiederer jschmiederer on2 com
Original thread: [PATCH] Use tkhd matrix for proper display in mov
Date: 05/23/2008 09:31 PM

Originally committed as revision 14365 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-24 07:55:11 +00:00
Kostya Shishkov
327ce5e6e6 SMPTE 421M Annex L (aka .rcv) muxer
Originally committed as revision 14352 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-23 17:06:40 +00:00
Baptiste Coudurier
f12c4bba79 add ogv extension
Originally committed as revision 14295 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-19 03:29:16 +00:00
Baptiste Coudurier
0fb6c620c0 cosmetics, remove space
Originally committed as revision 14294 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-19 03:27:24 +00:00
Baptiste Coudurier
9b92ed7666 update swf video frame number when muxing done, fix #439
Originally committed as revision 14293 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-19 03:25:50 +00:00
Erik Hovland
be390a4e2e Fix a mem leak in av_find_stream_info().
Patch by Erik Hovland erik hovland org

Originally committed as revision 14276 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-18 07:13:56 +00:00
Måns Rullgård
c6002ea14d MPEGTS: Improve probe function
When a sync byte is found, check that transport_error_indicator is zero,
and adaptation_field_control is valid (non-zero).

Originally committed as revision 14274 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-18 01:07:17 +00:00
Baptiste Coudurier
5469b788ea cosmetics, remove space
Originally committed as revision 14273 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-18 00:24:31 +00:00
Baptiste Coudurier
40e7aaa384 Return max score when ftyp atom is encountered.
Originally committed as revision 14272 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-18 00:23:37 +00:00
Michael Niedermayer
2615800a27 Try to fix FATE after my time_base simplification change.
Originally committed as revision 14262 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-17 14:13:44 +00:00
Diego Biurrun
9e4cd83347 cosmetics: Fix mxf codec long name.
Originally committed as revision 14256 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-16 17:20:21 +00:00
Siarhei Siamashka
589790c294 OGG: Add padding at end of Vorbis headers
Patch by Siarhei Siamashka <siarhei.siamashka gmail com>

Originally committed as revision 14249 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-15 23:00:29 +00:00
Michael Niedermayer
154dffd04c Make flic probe check a few more things.
fixes issue399

Originally committed as revision 14235 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-14 22:55:07 +00:00
Michael Niedermayer
744b4c02c2 Move the codec_id overriding at a slightly better place.
Originally committed as revision 14234 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-14 20:31:17 +00:00
Michael Niedermayer
283c061936 Remove common factors from timebase in av_set_pts_info().
Should fix issue313

Originally committed as revision 14232 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-14 19:11:09 +00:00
Diego Biurrun
fb72cf46f7 gifdec.c was removed, purge its entry from the Makefile.
Originally committed as revision 14228 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-14 08:55:07 +00:00
Måns Rullgård
e8420626d0 RTP: use dprintf(), allow compilation with -DDEBUG
Originally committed as revision 14211 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-13 19:41:10 +00:00
Måns Rullgård
f94981ea6a ASF: use dprintf(), allow compilation with -DDEBUG
Originally committed as revision 14210 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-13 19:41:07 +00:00
Michael Niedermayer
0b54f3c087 Remove gif demuxer, the code contains a gif decoder and lzw decoder neither
belongs in a demuxer, furthermore the code might be exploitable.
Fixes issue530

Originally committed as revision 14209 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-13 18:47:24 +00:00
Michael Niedermayer
c1c9046656 Use CODEC_ID_PROBE when the mpeg-ps demuxer does not know exactly which
video codec is used.
Fixes issue49 Departed Trailer.evo (mpeg ps missdetecting h264 as mpeg2video)

Originally committed as revision 14196 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-12 22:17:13 +00:00
Michael Niedermayer
dd57251cb0 Remove old hackish codec probe system.
Originally committed as revision 14193 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-12 20:40:47 +00:00
Michael Niedermayer
2a72e494c3 Use strcmp() instead of strncmp() in set_codec_from_probe_data().
Originally committed as revision 14190 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-12 20:01:23 +00:00
Michael Niedermayer
25d3fb7374 indent
Originally committed as revision 14189 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-12 19:57:57 +00:00
Michael Niedermayer
942de2f4fa Only try to probe the codec when the available data has roughly doubled
relative to the last attempt.

Originally committed as revision 14188 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-12 19:57:30 +00:00
Michael Niedermayer
312d24d5e9 Add mpegvideo and H.264 to the codec probe.
Originally committed as revision 14187 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-12 19:56:25 +00:00
Michael Niedermayer
010acd8ea1 h264_probe()
Originally committed as revision 14186 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-12 19:50:48 +00:00
Michael Niedermayer
55823964dc indent
Originally committed as revision 14185 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-12 18:43:02 +00:00
Michael Niedermayer
0bef08e516 New codec probing system try #1.
Originally committed as revision 14184 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-12 18:42:00 +00:00
Michael Niedermayer
3e86dba24b command_streams are type data not unknown.
Originally committed as revision 14183 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-12 16:43:46 +00:00
Michael Niedermayer
9d3b9f2cce Move add_to_pktbuf() before av_read_packet(). My future work on codec identification
cleanup will need this.

Originally committed as revision 14181 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-12 14:28:27 +00:00
Michael Niedermayer
64cd3108df Move set_codec_from_probe_data() up to where the other probe functions are.
Originally committed as revision 14180 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-12 13:25:26 +00:00
Michael Niedermayer
3179da621a Pass AVPacketList instead of the whole context to add_to_pktbuf as that is
all that is needed.

Originally committed as revision 14179 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-12 13:15:00 +00:00
Michael Niedermayer
876ef93d99 simplify
Originally committed as revision 14168 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-11 15:12:44 +00:00
Michael Niedermayer
6e264d45bc Fix misdetection of MPEG-PS (AVSEQ03.DAT and AVSEQ06.DAT) as psxstr.
Originally committed as revision 14167 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-11 15:10:58 +00:00
Diego Biurrun
58607ca7d2 Move one function that is only used for muxing below #ifdef CONFIG_MUXERS.
Originally committed as revision 14164 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-11 07:41:11 +00:00
Diego Biurrun
37673b1bdd Move a function and an #ifdef CONFIG_MUXERS so that functions used only for
muxing get disabled when compiling with --disable-muxers.

Originally committed as revision 14163 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-11 07:39:33 +00:00
Diego Biurrun
66b32ce8d0 Move functions only used for muxing below #ifdef CONFIG_YUV4MPEGPIPE_MUXER,
fixes some warnings when compiling with muxers disabled.

Originally committed as revision 14162 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-11 07:37:22 +00:00
Anuradha Suraparaju
eb64714c3a Add entry for Dirac codec.
Patch by Anuradha Suraparaju anuradha rd bbc co uk

Originally committed as revision 14151 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-10 11:41:06 +00:00
Luca Abeni
80150f7ee8 Fix MPEG video packetization for RTP
Originally committed as revision 14149 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-10 07:40:54 +00:00
Gregory Montoir
5b8cc860a1 Motion Pixels MVI Demuxer.
Patch by Gregory Montoir <cyx <at> users <dot> sourceforge <dot> net>

Originally committed as revision 14147 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-10 03:02:19 +00:00
Michael Niedermayer
cdb5af79e3 indent
Originally committed as revision 14133 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-08 23:26:26 +00:00
Michael Niedermayer
7efeb73a5a 10000l for myself, my last change was incomplete.
This one also reverts the libav mpeg ts regression test score change.

Originally committed as revision 14132 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-08 23:25:01 +00:00
Erik Hovland
72e043dd0f One-bit bitfields should probably be unsigned. Unfortunately, it is left
up to the compiler on how one bit fields are treated. gcc treats one-bit
bitfields as signed and allows for the -funsigned-field parameter. Other
compilers (like Sun C) treat one-bit bitfields as unsigned no matter what.
Patch by Erik Hovland erik hovland org

Originally committed as revision 14131 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-08 23:20:22 +00:00
Michael Niedermayer
6d77d9acf7 Set cur_dts to 0 only during creating new streams and not every time cur_dts happens
to be AV_NOPTS_VALUE.

Originally committed as revision 14118 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-08 14:07:37 +00:00
Peter Ross
b2f181c270 Electronic Arts CMV demuxer
Originally committed as revision 14111 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-08 13:24:13 +00:00
Peter Ross
60f451b6fe Remove AVPaletteControl from ALG MM demuxer/decoder
Originally committed as revision 14109 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-08 12:44:08 +00:00
Luca Abeni
f6f848397a Remove outdated comment
Originally committed as revision 14107 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-08 08:22:16 +00:00
Stefano Sabatini
265fccccde Print libavformat version in outgoing SDPs.
Originally committed as revision 14106 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-08 07:05:57 +00:00
Reimar Döffinger
00496302d6 10l, fix nuv_header for the case when there is no video stream.
Originally committed as revision 14101 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-07 16:30:39 +00:00
Diego Biurrun
76d3242835 Alphabetically order AVInputFormat/AVOutputFormat declarations.
Originally committed as revision 14100 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-07 11:11:08 +00:00
Diego Biurrun
900eb63dd3 Add a note to remind people to add new raw formats to the Makefile.
Originally committed as revision 14099 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-07 10:45:36 +00:00
Diego Biurrun
0c7b4823b3 Add missing dependency declaration for raw Dirac demuxer.
Originally committed as revision 14098 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-07 10:44:34 +00:00
Diego Biurrun
ac1ea66e17 spelling cosmetics in PCM codec long names
Originally committed as revision 14097 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-07 10:37:18 +00:00
Aurelien Jacobs
92b2bc59c9 add some missing dependencies
Originally committed as revision 14095 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-06 20:48:47 +00:00
Gregory Montoir
ca3ed63e15 Remove inaccurate computation of pts for audio packets and rely on
libavformat to generate them.
patch by Gregory Montoir, cyx users sourceforge net

Originally committed as revision 14085 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-06 10:00:12 +00:00
Michael Niedermayer
0328995893 All mp3 parsers are buggy fix 2 of n (out of array write, i suspect not exploitable)
Originally committed as revision 14070 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-04 22:04:41 +00:00
Michael Niedermayer
d5ae45841f All id3 parsers are buggy, 0 termination fix 1 of n (issue created by andreas
and found by reimar) fix is from reimar + cosmetics by me.

Originally committed as revision 14069 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-04 22:00:35 +00:00
Diego Biurrun
15d6e3612f spelling cosmetics
Originally committed as revision 14064 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-04 13:05:06 +00:00
Ronald S. Bultje
1e2802c5cf Reindent after r14059, see "[PATCH] allow empty params for
av_open_input_stream()".

Originally committed as revision 14060 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-03 12:12:03 +00:00
Ronald S. Bultje
e145ce2027 Allow NULL for read_header in AVInputFormat. See discussion in "[PATCH] allow
empty params for av_open_input_stream()".

Originally committed as revision 14059 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-03 12:10:54 +00:00
Luca Abeni
fba7815d8d Reindent after last commit
Originally committed as revision 14046 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-02 10:26:23 +00:00
Luca Abeni
d6b9e57af2 Fix A/V synch for RTP streams that do not contain MPEG1 or 2
(correctly compute the presentation times based on the RTP timestamps
and the RTCP SR packets)

Originally committed as revision 14045 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-02 10:23:27 +00:00
Baptiste Coudurier
90ffc4902e include track id in error message
Originally committed as revision 14025 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-28 20:32:37 +00:00
Reimar Döffinger
ddca6ab678 Change mtv_read_packet so it does not break after seeking (displaying a shifted image).
Originally committed as revision 14020 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-28 09:01:16 +00:00
Reimar Döffinger
34bfe875d5 Fix pkt->pos to really point at start of packet for mtv audio packets.
Originally committed as revision 14019 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-28 08:59:02 +00:00
Baptiste Coudurier
6f557c6a36 cosmetics
Originally committed as revision 14018 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-28 04:54:39 +00:00
Baptiste Coudurier
c7adbedb08 cosmetics, align vertically
Originally committed as revision 14017 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-28 04:53:01 +00:00
Baptiste Coudurier
c187f461f5 unset Track sets, relying in AVStream->priv_data and will be freed in av_close_input_file
Originally committed as revision 14016 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-27 21:43:15 +00:00
Stefan Gehrer
6d083dd7e9 fix size of header data
Originally committed as revision 14015 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-27 21:42:08 +00:00
Baptiste Coudurier
bc4c3a55f5 clarify error message about codec tag
Originally committed as revision 14013 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-27 21:29:11 +00:00
Baptiste Coudurier
150611474e give context to av_log
Originally committed as revision 14012 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-27 19:00:04 +00:00
Luca Abeni
6872368355 Do not free the priv_data field of AVStream on close (it is already
freed by av_close_input_stream())

Originally committed as revision 14006 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-27 11:55:25 +00:00
Michael Niedermayer
44369b45eb indent
Originally committed as revision 14005 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-26 23:06:10 +00:00
Michael Niedermayer
fd147f23a2 Inform the user about unhandled sectors.
Originally committed as revision 14004 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-26 23:05:21 +00:00
Michael Niedermayer
66602c67be memleak
Originally committed as revision 14003 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-26 23:02:42 +00:00
Michael Niedermayer
435a6082f9 Do not completely bail out for invalid params, just skip the current sector.
Originally committed as revision 14002 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-26 23:00:00 +00:00
Michael Niedermayer
ad9c10556c merge decl & init
Originally committed as revision 14001 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-26 22:55:39 +00:00
Michael Niedermayer
a4fe6826de Get rid of weird pre reading code.
Originally committed as revision 14000 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-26 22:53:43 +00:00
Michael Niedermayer
d0b76b98c4 Remove debugging trash.
Originally committed as revision 13999 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-26 22:45:19 +00:00
Michael Niedermayer
7669935ac4 Another variable that did nothing at all
Originally committed as revision 13998 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-26 22:43:18 +00:00
Michael Niedermayer
73d3a14d82 remove code that discards streams randomly
Originally committed as revision 13997 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-26 22:42:13 +00:00
Michael Niedermayer
e100245441 vertical align
Originally committed as revision 13996 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-26 22:30:14 +00:00
Michael Niedermayer
c1f6eca124 Remove a dozen unused variables.
Originally committed as revision 13995 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-26 22:28:58 +00:00
Michael Niedermayer
a4d64c1709 unused var
Originally committed as revision 13994 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-26 22:23:57 +00:00
Michael Niedermayer
fdb5932e35 Fix exploitable code.
Fixes issue311

Originally committed as revision 13993 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-26 22:22:10 +00:00
Michael Niedermayer
dd7a68b6da Remove start_time guessing code.
Originally committed as revision 13988 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-26 13:42:26 +00:00
Michael Niedermayer
3041a4a13d Also print flags with FF_FDEBUG_TS.
Originally committed as revision 13987 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-26 11:28:24 +00:00
Michael Niedermayer
f53dd4682c Prevent invalid timestamps from being stored.
Originally committed as revision 13983 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-25 22:37:26 +00:00
Benjamin Larsson
75d27450a1 Add support for mp3 contained in oma
Originally committed as revision 13980 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-25 19:59:52 +00:00
Benjamin Larsson
de8c8181a9 Rearrange parameter logic
Originally committed as revision 13979 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-25 19:57:57 +00:00
Benjamin Larsson
f035fe9755 Add more codec IDs and tags.
Originally committed as revision 13977 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-25 19:39:38 +00:00
Baptiste Coudurier
f3b5a1a260 make av_find_stream_info find frame_size for aac too
Originally committed as revision 13976 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-25 19:30:48 +00:00
Michael Niedermayer
4d35bf74f9 Make av_find_stream_info() find the frame_size for vorbis.
Originally committed as revision 13972 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-25 18:36:41 +00:00
Michael Niedermayer
6e1aa0f383 Fill missing pts in during muxing when we know that they are equal to dts.
Originally committed as revision 13970 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-25 18:31:48 +00:00
Michael Niedermayer
c924ca78b6 We cannot calculate the duration of vorbis packets even if we do know the
"minimal" frame_size.

Originally committed as revision 13969 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-25 18:15:04 +00:00
Luca Abeni
a4696aa2fe Remove improper usage of AV_TIME_BASE_Q
Originally committed as revision 13960 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-25 11:55:57 +00:00
Michael Niedermayer
796d200a77 Prevent duration calculation code from generating random durations for
vorbis in ogg.

Originally committed as revision 13958 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-24 23:56:16 +00:00
Luca Abeni
309d32b0db Do not set sample_rate = 90000 for mp2 and mp3 audio over RTP
Originally committed as revision 13943 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-24 11:07:04 +00:00
Diego Biurrun
07cb073bf9 Remove unused variable, fixes the warning:
libavformat/rmdec.c:280: warning: unused variable 'i'

Originally committed as revision 13909 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-23 08:52:44 +00:00