platform/upstream/libav.git
15 years agoTry to support invalid h264 that does not mark IDR with POC=0.
Michael Niedermayer [Tue, 2 Sep 2008 16:31:18 +0000 (16:31 +0000)]
Try to support invalid h264 that does not mark IDR with POC=0.
Fixes issue576.

Originally committed as revision 15153 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoFix detection of MPEG4 in MPEG-PS.
Michael Niedermayer [Tue, 2 Sep 2008 15:33:57 +0000 (15:33 +0000)]
Fix detection of MPEG4 in MPEG-PS.
Fixes issue568.

Originally committed as revision 15152 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoadd a separate line in Makefile for E-AC-3 decoder and only compile it when
Justin Ruggles [Tue, 2 Sep 2008 04:04:26 +0000 (04:04 +0000)]
add a separate line in Makefile for E-AC-3 decoder and only compile it when
GPL is enabled. fixes building without GPL or with liba52.

Originally committed as revision 15151 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agomake pcm encoder setting bits_per_sample field
Baptiste Coudurier [Mon, 1 Sep 2008 21:13:05 +0000 (21:13 +0000)]
make pcm encoder setting bits_per_sample field

Originally committed as revision 15150 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoMake show_banner()/show_version() print the libpostproc version
Stefano Sabatini [Mon, 1 Sep 2008 18:02:46 +0000 (18:02 +0000)]
Make show_banner()/show_version() print the libpostproc version
numbers if enabled.

Originally committed as revision 15149 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoImplement postproc_version().
Stefano Sabatini [Mon, 1 Sep 2008 18:00:53 +0000 (18:00 +0000)]
Implement postproc_version().

Originally committed as revision 15148 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agochange back to using CONFIG_*_DEMUXER for ac3_eac3_probe(), but use it
Justin Ruggles [Mon, 1 Sep 2008 17:20:49 +0000 (17:20 +0000)]
change back to using CONFIG_*_DEMUXER for ac3_eac3_probe(), but use it
correctly this time.

Originally committed as revision 15147 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agomatroska: add E-AC-3 support
Aurelien Jacobs [Mon, 1 Sep 2008 15:50:12 +0000 (15:50 +0000)]
matroska: add E-AC-3 support
Thanks again Justin !

Originally committed as revision 15146 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agosimplify ac3_probe() and eac3_probe(). patch by Aurelien Jacobs.
Aurelien Jacobs [Mon, 1 Sep 2008 15:31:14 +0000 (15:31 +0000)]
simplify ac3_probe() and eac3_probe(). patch by Aurelien Jacobs.

Originally committed as revision 15145 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agocheck ENABLE_*_DEMUXER instead of CONFIG_*_DEMUXER
Justin Ruggles [Mon, 1 Sep 2008 15:28:15 +0000 (15:28 +0000)]
check ENABLE_*_DEMUXER instead of CONFIG_*_DEMUXER

Originally committed as revision 15144 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agocreate a separate codec_id for E-AC-3
Justin Ruggles [Mon, 1 Sep 2008 14:33:54 +0000 (14:33 +0000)]
create a separate codec_id for E-AC-3

Originally committed as revision 15143 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoRemove useless "else" case in if X { A; return }; else { B }. See discussion
Ronald S. Bultje [Mon, 1 Sep 2008 13:51:24 +0000 (13:51 +0000)]
Remove useless "else" case in if X { A; return }; else { B }. See discussion
in "Realmedia patch" thread on mailinglist.

Originally committed as revision 15142 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoSome RTSP streams use SDP lines longer than 1024 bytes, so the SDP line
Ronald S. Bultje [Mon, 1 Sep 2008 13:47:53 +0000 (13:47 +0000)]
Some RTSP streams use SDP lines longer than 1024 bytes, so the SDP line
buffer needs to be increased. See discussion in "Realmedia patch" thread
on mailinglist.

Originally committed as revision 15141 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoImplement Realmedia-compatible DESCRIBE command.
Ronald S. Bultje [Mon, 1 Sep 2008 13:46:50 +0000 (13:46 +0000)]
Implement Realmedia-compatible DESCRIBE command.

Originally committed as revision 15140 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agofix sorting of audio codecs
Justin Ruggles [Mon, 1 Sep 2008 13:32:30 +0000 (13:32 +0000)]
fix sorting of audio codecs

Originally committed as revision 15139 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoRemaining parts of Nellymoser encoder
Bartlomiej Wolowiec [Mon, 1 Sep 2008 11:19:26 +0000 (11:19 +0000)]
Remaining parts of Nellymoser encoder

Originally committed as revision 15138 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoCheck ff_init_me()s return value.
Michael Niedermayer [Mon, 1 Sep 2008 00:28:51 +0000 (00:28 +0000)]
Check ff_init_me()s return value.

Originally committed as revision 15137 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years ago1000l Fix snow regression test that i broke in r15135.
Michael Niedermayer [Mon, 1 Sep 2008 00:22:00 +0000 (00:22 +0000)]
1000l Fix snow regression test that i broke in r15135.

Originally committed as revision 15136 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoWarn the user about me_method values that are not supported.
Michael Niedermayer [Sun, 31 Aug 2008 23:55:47 +0000 (23:55 +0000)]
Warn the user about me_method values that are not supported.
Fixes issue503

Originally committed as revision 15135 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoOptimize vorbis_residue_decode() so that vr->type is a constant.
Michael Niedermayer [Sun, 31 Aug 2008 22:49:42 +0000 (22:49 +0000)]
Optimize vorbis_residue_decode() so that vr->type is a constant.
Based on a patch by Siarhei Siamashka.

Originally committed as revision 15134 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoRemove debuging junk that probably hasnt been used by anyone since years.
Michael Niedermayer [Sun, 31 Aug 2008 20:26:28 +0000 (20:26 +0000)]
Remove debuging junk that probably hasnt been used by anyone since years.

Originally committed as revision 15133 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agocheck for malloc failure
Baptiste Coudurier [Sun, 31 Aug 2008 20:21:00 +0000 (20:21 +0000)]
check for malloc failure

Originally committed as revision 15132 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agocopy whole frame in vosData for dnxhd, this code will be used for other codecs too
Baptiste Coudurier [Sun, 31 Aug 2008 20:20:12 +0000 (20:20 +0000)]
copy whole frame in vosData for dnxhd, this code will be used for other codecs too

Originally committed as revision 15131 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agothe FLAC encoder has an integer-only mode available (compression_level <= 2)
Justin Ruggles [Sun, 31 Aug 2008 20:11:25 +0000 (20:11 +0000)]
the FLAC encoder has an integer-only mode available (compression_level <= 2)

Originally committed as revision 15130 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agocosmetics: capitalization
Justin Ruggles [Sun, 31 Aug 2008 19:59:52 +0000 (19:59 +0000)]
cosmetics: capitalization

Originally committed as revision 15129 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoDnet AC-3 encoding is integer-only
Justin Ruggles [Sun, 31 Aug 2008 19:59:27 +0000 (19:59 +0000)]
Dnet AC-3 encoding is integer-only

Originally committed as revision 15128 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoadd E-AC-3 to supported codec list
Justin Ruggles [Sun, 31 Aug 2008 19:57:45 +0000 (19:57 +0000)]
add E-AC-3 to supported codec list

Originally committed as revision 15127 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoOkayed parts of nellymoserenc.c
Bartlomiej Wolowiec [Sun, 31 Aug 2008 19:26:33 +0000 (19:26 +0000)]
Okayed parts of nellymoserenc.c

Originally committed as revision 15126 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoSend RTSP OPTIONS command to detect server type.
Ronald S. Bultje [Sun, 31 Aug 2008 17:32:58 +0000 (17:32 +0000)]
Send RTSP OPTIONS command to detect server type.

Originally committed as revision 15125 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoRead RealChallenge1 field from the server.
Ronald S. Bultje [Sun, 31 Aug 2008 17:32:02 +0000 (17:32 +0000)]
Read RealChallenge1 field from the server.

Originally committed as revision 15124 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoImplement RTSPServerType enum as a way to identify the flavour of RTSP that
Ronald S. Bultje [Sun, 31 Aug 2008 17:30:15 +0000 (17:30 +0000)]
Implement RTSPServerType enum as a way to identify the flavour of RTSP that
the server will send to us (standard-compliant RTP or Realmedia-style RDT).

Originally committed as revision 15123 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoRevert back to old version (r15103).
Ronald S. Bultje [Sun, 31 Aug 2008 17:23:01 +0000 (17:23 +0000)]
Revert back to old version (r15103).

Originally committed as revision 15122 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoreduce code duplication by moving common header parsing
Stefan Gehrer [Sun, 31 Aug 2008 08:09:54 +0000 (08:09 +0000)]
reduce code duplication by moving common header parsing
from the bpp-specific parts to the frame decode

Originally committed as revision 15121 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoChange headers' guardnames consistently with r15120.
Stefano Sabatini [Sun, 31 Aug 2008 07:42:11 +0000 (07:42 +0000)]
Change headers' guardnames consistently with r15120.

Originally committed as revision 27499 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

15 years agoGlobally rename the header inclusion guard names.
Stefano Sabatini [Sun, 31 Aug 2008 07:39:47 +0000 (07:39 +0000)]
Globally rename the header inclusion guard names.

Consistently apply this rule: the guard name is obtained from the
filename by stripping the leading "lib", converting '/' and '.'  to
'_' and uppercasing the resulting name. Guard names in the root
directory have to be prefixed by "FFMPEG_".

Originally committed as revision 15120 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoDisplay error message when user attempts to resample non-S16 audio formats.
Peter Ross [Sun, 31 Aug 2008 07:23:48 +0000 (07:23 +0000)]
Display error message when user attempts to resample non-S16 audio formats.
Patch supplied by Daniel Serpell <daniel dot serpell at gmail dotcom>.

Originally committed as revision 15119 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoUse ff_vp3_idct_data in vp3dsp_mmx.c rather than duplicating it
David Conrad [Sun, 31 Aug 2008 07:05:55 +0000 (07:05 +0000)]
Use ff_vp3_idct_data in vp3dsp_mmx.c rather than duplicating it

Originally committed as revision 15118 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoDeclare ff_vp3_idct_data to be uint16_t
David Conrad [Sun, 31 Aug 2008 07:05:29 +0000 (07:05 +0000)]
Declare ff_vp3_idct_data to be uint16_t

Originally committed as revision 15117 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoDon't declare SSE vp3 idct data static, so it can be used in the mmx version
David Conrad [Sun, 31 Aug 2008 07:05:08 +0000 (07:05 +0000)]
Don't declare SSE vp3 idct data static, so it can be used in the mmx version

Originally committed as revision 15116 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agodo no write multi descriptor when only one track is present
Baptiste Coudurier [Sun, 31 Aug 2008 04:35:09 +0000 (04:35 +0000)]
do no write multi descriptor when only one track is present

Originally committed as revision 15115 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agofactorize
Baptiste Coudurier [Sun, 31 Aug 2008 04:26:12 +0000 (04:26 +0000)]
factorize

Originally committed as revision 15114 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoremove mxf_build_structural_metadata, simplify
Baptiste Coudurier [Sun, 31 Aug 2008 04:25:39 +0000 (04:25 +0000)]
remove mxf_build_structural_metadata, simplify

Originally committed as revision 15113 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agomove mxf_write_package to permit function merge
Baptiste Coudurier [Sun, 31 Aug 2008 04:24:00 +0000 (04:24 +0000)]
move mxf_write_package to permit function merge

Originally committed as revision 15112 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agocosmetics, Pair -> Entry
Baptiste Coudurier [Sun, 31 Aug 2008 04:20:47 +0000 (04:20 +0000)]
cosmetics, Pair -> Entry

Originally committed as revision 15111 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agostore index in table in MXFStreamContext, simplify
Baptiste Coudurier [Sun, 31 Aug 2008 04:13:44 +0000 (04:13 +0000)]
store index in table in MXFStreamContext, simplify

Originally committed as revision 15110 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agomerge descriptor write table with essence container uls table and simplify
Baptiste Coudurier [Sun, 31 Aug 2008 04:07:41 +0000 (04:07 +0000)]
merge descriptor write table with essence container uls table and simplify

Originally committed as revision 15109 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agofix type in prototype
Baptiste Coudurier [Sun, 31 Aug 2008 03:45:00 +0000 (03:45 +0000)]
fix type in prototype

Originally committed as revision 15108 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoremove header_byte_count_offset from context
Baptiste Coudurier [Sun, 31 Aug 2008 03:42:05 +0000 (03:42 +0000)]
remove header_byte_count_offset from context

Originally committed as revision 15107 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agosimplify and correctly rewrite metadata in header partition, mark it closed complete
Baptiste Coudurier [Sun, 31 Aug 2008 03:36:25 +0000 (03:36 +0000)]
simplify and correctly rewrite metadata in header partition, mark it closed complete

Originally committed as revision 15106 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agosimplify current partition offset
Baptiste Coudurier [Sun, 31 Aug 2008 03:20:41 +0000 (03:20 +0000)]
simplify current partition offset

Originally committed as revision 15105 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoImplement RTSP/Realmedia-compatible OPTIONS command. See "Realmedia patch"
Ronald S. Bultje [Sun, 31 Aug 2008 03:12:13 +0000 (03:12 +0000)]
Implement RTSP/Realmedia-compatible OPTIONS command. See "Realmedia patch"
thread on mailinglist for discussion. This patch also implements a
RTSPServerType enum, which allows the RTSP to keep track of what kind of a
stream we're handling: standard-compliant RTP or a proprietary derivative.
This will be used in subsequent patches to implement more Realmedia-specific
extensions required to receive and parse data coming from a Realmedia server.

Originally committed as revision 15104 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoturn on E-AC-3 decoding support and update the Changelog
Justin Ruggles [Sun, 31 Aug 2008 03:08:18 +0000 (03:08 +0000)]
turn on E-AC-3 decoding support and update the Changelog

Originally committed as revision 15103 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoheader partition is open incomplete for now
Baptiste Coudurier [Sun, 31 Aug 2008 03:06:38 +0000 (03:06 +0000)]
header partition is open incomplete for now

Originally committed as revision 15102 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agosimplify code and comment regarding determination whether or not AHT is used.
Justin Ruggles [Sun, 31 Aug 2008 03:01:56 +0000 (03:01 +0000)]
simplify code and comment regarding determination whether or not AHT is used.

Originally committed as revision 15101 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoalways write footer partition according to specs
Baptiste Coudurier [Sun, 31 Aug 2008 03:01:07 +0000 (03:01 +0000)]
always write footer partition according to specs

Originally committed as revision 15100 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agouse correct table name
Justin Ruggles [Sun, 31 Aug 2008 02:58:21 +0000 (02:58 +0000)]
use correct table name

Originally committed as revision 15099 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years ago10l fix mxf_get_essence_container_ul
Baptiste Coudurier [Sun, 31 Aug 2008 02:55:13 +0000 (02:55 +0000)]
10l fix mxf_get_essence_container_ul

Originally committed as revision 15098 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agocosmetics, mux_write -> mxf_write
Baptiste Coudurier [Sun, 31 Aug 2008 02:50:25 +0000 (02:50 +0000)]
cosmetics, mux_write -> mxf_write

Originally committed as revision 15097 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agocorrectly set track duration
Baptiste Coudurier [Sun, 31 Aug 2008 02:49:40 +0000 (02:49 +0000)]
correctly set track duration

Originally committed as revision 15096 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoset duration to distinguished value
Baptiste Coudurier [Sun, 31 Aug 2008 02:46:50 +0000 (02:46 +0000)]
set duration to distinguished value

Originally committed as revision 15095 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agocorrectly write codec ul, mpeg-2 needs profile and level to be set
Baptiste Coudurier [Sun, 31 Aug 2008 02:41:31 +0000 (02:41 +0000)]
correctly write codec ul, mpeg-2 needs profile and level to be set

Originally committed as revision 15094 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoMisc cosmetics in compute_lpc_coefs(): braces removal and empty lines
Vitor Sessak [Sun, 31 Aug 2008 02:39:55 +0000 (02:39 +0000)]
Misc cosmetics in compute_lpc_coefs(): braces removal and empty lines

Originally committed as revision 15093 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoskip converter exponent strategy for all channels at once
Justin Ruggles [Sun, 31 Aug 2008 02:38:38 +0000 (02:38 +0000)]
skip converter exponent strategy for all channels at once

Originally committed as revision 15092 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoRemove useless var in compute_lpc_coefs()
Vitor Sessak [Sun, 31 Aug 2008 02:37:04 +0000 (02:37 +0000)]
Remove useless var in compute_lpc_coefs()

Originally committed as revision 15091 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agomerge declaration and init. variable is not used outside the loop.
Justin Ruggles [Sun, 31 Aug 2008 02:35:58 +0000 (02:35 +0000)]
merge declaration and init. variable is not used outside the loop.

Originally committed as revision 15090 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agocosmetics: indentation
Justin Ruggles [Sun, 31 Aug 2008 02:32:08 +0000 (02:32 +0000)]
cosmetics: indentation

Originally committed as revision 15089 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoMerge declaration and initialization of a few vars in compute_lpc_coefs()
Vitor Sessak [Sun, 31 Aug 2008 02:31:05 +0000 (02:31 +0000)]
Merge declaration and initialization of a few vars in compute_lpc_coefs()

Originally committed as revision 15088 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agocommit more OKed parts of the E-AC-3 decoder
Justin Ruggles [Sun, 31 Aug 2008 02:30:09 +0000 (02:30 +0000)]
commit more OKed parts of the E-AC-3 decoder

Originally committed as revision 15087 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agosimplify, pass AVStream directly instead of index
Baptiste Coudurier [Sun, 31 Aug 2008 01:48:02 +0000 (01:48 +0000)]
simplify, pass AVStream directly instead of index

Originally committed as revision 15086 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agocosmetics, whitespace
Baptiste Coudurier [Sun, 31 Aug 2008 01:44:45 +0000 (01:44 +0000)]
cosmetics, whitespace

Originally committed as revision 15085 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoremove now useless track_number_sign
Baptiste Coudurier [Sun, 31 Aug 2008 01:41:10 +0000 (01:41 +0000)]
remove now useless track_number_sign

Originally committed as revision 15084 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoput back mxf_essence_container_uls in demuxer as static const
Baptiste Coudurier [Sun, 31 Aug 2008 01:39:42 +0000 (01:39 +0000)]
put back mxf_essence_container_uls in demuxer as static const

Originally committed as revision 15083 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoremove now useless mxf_essence_element_key array
Baptiste Coudurier [Sun, 31 Aug 2008 01:37:14 +0000 (01:37 +0000)]
remove now useless mxf_essence_element_key array

Originally committed as revision 15082 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agofix track number ul in primer pack
Baptiste Coudurier [Sun, 31 Aug 2008 01:34:26 +0000 (01:34 +0000)]
fix track number ul in primer pack

Originally committed as revision 15081 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agointroduce MXFContainerEssencePair to associate essence element key and
Baptiste Coudurier [Sun, 31 Aug 2008 01:33:28 +0000 (01:33 +0000)]
introduce MXFContainerEssencePair to associate essence element key and
essence container easily and compute essence element key in write_header

Originally committed as revision 15080 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agocosmetics
Baptiste Coudurier [Sun, 31 Aug 2008 00:40:11 +0000 (00:40 +0000)]
cosmetics

Originally committed as revision 15079 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoreplace sizeof(type) by sizeof *ptr
Baptiste Coudurier [Sun, 31 Aug 2008 00:39:34 +0000 (00:39 +0000)]
replace sizeof(type) by sizeof *ptr

Originally committed as revision 15078 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agomerge declaration and init
Baptiste Coudurier [Sun, 31 Aug 2008 00:36:30 +0000 (00:36 +0000)]
merge declaration and init

Originally committed as revision 15077 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoreindent
Baptiste Coudurier [Sun, 31 Aug 2008 00:28:51 +0000 (00:28 +0000)]
reindent

Originally committed as revision 15076 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agosimplify mxf_write_essence_container_refs
Baptiste Coudurier [Sun, 31 Aug 2008 00:28:36 +0000 (00:28 +0000)]
simplify mxf_write_essence_container_refs

Originally committed as revision 15075 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agofactorize
Baptiste Coudurier [Sun, 31 Aug 2008 00:26:54 +0000 (00:26 +0000)]
factorize

Originally committed as revision 15074 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agochange [0] to *
Baptiste Coudurier [Sun, 31 Aug 2008 00:25:19 +0000 (00:25 +0000)]
change [0] to *

Originally committed as revision 15073 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agocompute essence containers in mxf_write_header, this simplifies the code
Baptiste Coudurier [Sun, 31 Aug 2008 00:23:38 +0000 (00:23 +0000)]
compute essence containers in mxf_write_header, this simplifies the code

Originally committed as revision 15072 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoget essence container ul in header and set it per track, check for unsupported codec
Baptiste Coudurier [Sat, 30 Aug 2008 23:54:24 +0000 (23:54 +0000)]
get essence container ul in header and set it per track, check for unsupported codec

Originally committed as revision 15071 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agomove per track code in mxf_write_header to be able to check for unsupported configuration
Baptiste Coudurier [Sat, 30 Aug 2008 23:47:58 +0000 (23:47 +0000)]
move per track code in mxf_write_header to be able to check for unsupported configuration

Originally committed as revision 15070 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agorename variable
Baptiste Coudurier [Sat, 30 Aug 2008 23:43:14 +0000 (23:43 +0000)]
rename variable

Originally committed as revision 15069 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agocommit more OKed parts of the E-AC-3 decoder
Justin Ruggles [Sat, 30 Aug 2008 23:19:23 +0000 (23:19 +0000)]
commit more OKed parts of the E-AC-3 decoder

Originally committed as revision 15068 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agocommit more OKed parts of the E-AC-3 decoder
Justin Ruggles [Sat, 30 Aug 2008 23:13:10 +0000 (23:13 +0000)]
commit more OKed parts of the E-AC-3 decoder

Originally committed as revision 15067 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agofix typos
Baptiste Coudurier [Sat, 30 Aug 2008 23:05:42 +0000 (23:05 +0000)]
fix typos

Originally committed as revision 15066 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agocosmetics: header -> generic
Baptiste Coudurier [Sat, 30 Aug 2008 23:02:59 +0000 (23:02 +0000)]
cosmetics: header -> generic

Originally committed as revision 15065 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agocosmetics, remove useless braces, move comments where appropriate, remove whitespaces
Baptiste Coudurier [Sat, 30 Aug 2008 22:58:49 +0000 (22:58 +0000)]
cosmetics, remove useless braces, move comments where appropriate, remove whitespaces

Originally committed as revision 15064 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agocosmetics
Baptiste Coudurier [Sat, 30 Aug 2008 22:45:49 +0000 (22:45 +0000)]
cosmetics

Originally committed as revision 15063 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agosimplify, and factorize
Baptiste Coudurier [Sat, 30 Aug 2008 22:45:32 +0000 (22:45 +0000)]
simplify, and factorize

Originally committed as revision 15062 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoonly put version in tag
Baptiste Coudurier [Sat, 30 Aug 2008 22:41:01 +0000 (22:41 +0000)]
only put version in tag

Originally committed as revision 15061 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agosimplify
Baptiste Coudurier [Sat, 30 Aug 2008 22:38:59 +0000 (22:38 +0000)]
simplify

Originally committed as revision 15060 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoalways write required version string local tag
Baptiste Coudurier [Sat, 30 Aug 2008 22:37:19 +0000 (22:37 +0000)]
always write required version string local tag

Originally committed as revision 15059 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agointroduce mxf_write_local_tag_utf16 and factorize
Baptiste Coudurier [Sat, 30 Aug 2008 22:32:23 +0000 (22:32 +0000)]
introduce mxf_write_local_tag_utf16 and factorize

Originally committed as revision 15058 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agouse strlen and do not write useless trailing 0 according to specs
Baptiste Coudurier [Sat, 30 Aug 2008 22:24:19 +0000 (22:24 +0000)]
use strlen and do not write useless trailing 0 according to specs

Originally committed as revision 15057 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agowrite strings as utf16be
Baptiste Coudurier [Sat, 30 Aug 2008 22:23:11 +0000 (22:23 +0000)]
write strings as utf16be

Originally committed as revision 15056 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoFix lossless jpeg encoder to comply to spec and store full redundant
Michael Niedermayer [Sat, 30 Aug 2008 20:39:12 +0000 (20:39 +0000)]
Fix lossless jpeg encoder to comply to spec and store full redundant
residuals, Note this does not change RGB32 as we need to check this
against some decoder that supports it.

Originally committed as revision 15055 to svn://svn.ffmpeg.org/ffmpeg/trunk