ffmpeg.git
10 years agoAdd support for encoding XSUB subtitles. Muxing support is still missing.
Reimar Döffinger [Fri, 19 Jun 2009 09:56:35 +0000 (09:56 +0000)]
Add support for encoding XSUB subtitles. Muxing support is still missing.
Based on code by DivX, Inc., heavily changed by Björn Axelsson [gecko acc.umu.se] and me.

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

10 years agoAdd pts field to AVSubtitle, for use by future XSUB encoder (and XSUB decoder
Reimar Döffinger [Fri, 19 Jun 2009 08:28:07 +0000 (08:28 +0000)]
Add pts field to AVSubtitle, for use by future XSUB encoder (and XSUB decoder
should use it, too).

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

10 years agoRename tests/ffmpeg.regression.ref to tests/vsynth.regression.ref,
Stefano Sabatini [Thu, 18 Jun 2009 23:44:05 +0000 (23:44 +0000)]
Rename tests/ffmpeg.regression.ref to tests/vsynth.regression.ref,
since that is the name of the corresponding test.

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

10 years agoAdd fourcc 0x10000004, seems to actually be MPEG4. Fixes a problematic AVI file.
Jason Garrett-Glaser [Thu, 18 Jun 2009 19:31:12 +0000 (19:31 +0000)]
Add fourcc 0x10000004, seems to actually be MPEG4.  Fixes a problematic AVI file.

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

10 years agoG.729 decoding routine (skeleton, including parameters decoding).
Vladimir Voroshilov [Thu, 18 Jun 2009 18:14:38 +0000 (18:14 +0000)]
G.729 decoding routine (skeleton, including parameters decoding).

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

10 years agoPrint why av_find_stream_info() failed, this is a rather common question
Michael Niedermayer [Thu, 18 Jun 2009 00:22:08 +0000 (00:22 +0000)]
Print why av_find_stream_info() failed, this is a rather common question
during debugging ...

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

10 years agoARM: slightly faster NEON H264 horizontal loop filter
Måns Rullgård [Wed, 17 Jun 2009 22:33:04 +0000 (22:33 +0000)]
ARM: slightly faster NEON H264 horizontal loop filter

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

10 years agoSet restrictions on packet_size, as per ISO-11172 / H-222 specifications
Ronald S. Bultje [Wed, 17 Jun 2009 19:04:02 +0000 (19:04 +0000)]
Set restrictions on packet_size, as per ISO-11172 / H-222 specifications
(max packet size should fit in 13 bits as a kB value, so 1<<23, plus the
header which is 10 bytes), and as per mpegenc.c internal assumptions
(min packet size is 20 bytes). See "[PATCH] make packet_size in
AVFormatContext unsigned" thread.

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

10 years agoDo not call rgb2rgbWrapper() for rgb48*, there is no special converter
Vitor Sessak [Wed, 17 Jun 2009 18:40:19 +0000 (18:40 +0000)]
Do not call rgb2rgbWrapper() for rgb48*, there is no special  converter
yet for those formats

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

10 years agoRemove a test on an always false condition.
Benoit Fouet [Wed, 17 Jun 2009 07:05:17 +0000 (07:05 +0000)]
Remove a test on an always false condition.

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

10 years agoVC-1/WMV: Remove redundant ff_init_block_index() calls.
Jason Garrett-Glaser [Wed, 17 Jun 2009 05:54:42 +0000 (05:54 +0000)]
VC-1/WMV: Remove redundant ff_init_block_index() calls.
These are only supposed to be called once per row, not once per macroblock.
~1.5% faster according to oprofile.

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

10 years agoAdd '.mp1' for MP1 audio in MOV/CAF.
Alexander Strange [Wed, 17 Jun 2009 00:37:06 +0000 (00:37 +0000)]
Add '.mp1' for MP1 audio in MOV/CAF.
Tested with streamcopy of 'mp1-sample.mp1' in incoming.

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

10 years agoAdd ".mp2" as a fourcc for mp2 audio in MOV. Fixes a problematic MOV file.
Jason Garrett-Glaser [Tue, 16 Jun 2009 23:50:02 +0000 (23:50 +0000)]
Add ".mp2" as a fourcc for mp2 audio in MOV.  Fixes a problematic MOV file.

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

10 years agoDowngrade message log level (from AV_LOG_ERROR to AV_LOG_DEBUG) about
Art Clarke [Tue, 16 Jun 2009 23:14:59 +0000 (23:14 +0000)]
Downgrade message log level (from AV_LOG_ERROR to AV_LOG_DEBUG) about
skipped metadata packet in FLV demuxer.

Patch by Art Clarke a${surname} At xuggle - com.

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

10 years agoMove opt_loglevel() from ffmpeg.c to cmdutils.c.
Stefano Sabatini [Tue, 16 Jun 2009 23:09:03 +0000 (23:09 +0000)]
Move opt_loglevel() from ffmpeg.c to cmdutils.c.

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

10 years agoMake ffmpeg able to set the loglevel option using strings
Ramiro Polla [Tue, 16 Jun 2009 23:02:53 +0000 (23:02 +0000)]
Make ffmpeg able to set the loglevel option using strings
corresponding to the various log levels.

Patch by Ramiro.

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

10 years agoH.264: Fix memory leaks with multithreading.
Alexander Strange [Tue, 16 Jun 2009 21:50:36 +0000 (21:50 +0000)]
H.264: Fix memory leaks with multithreading.

The threads' contexts and rbsp_buffers were not freed at the end
of decoding.

Fixes issue 1581

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

10 years agoSSE version of clear_blocks
Jason Garrett-Glaser [Tue, 16 Jun 2009 17:33:57 +0000 (17:33 +0000)]
SSE version of clear_blocks

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

10 years agoVC-1/WMV3 decoding: don't clear blocks unless they're actually used.
Jason Garrett-Glaser [Tue, 16 Jun 2009 09:09:03 +0000 (09:09 +0000)]
VC-1/WMV3 decoding: don't clear blocks unless they're actually used.
~8% faster VC-1 decoding.
Possible future optimization: clear blocks after use instead of before, and for
DC-only blocks, only clear the DC coefficient.

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

10 years agoidct_dc for VC-1/WMV3 decoder; ~11% faster decoding overall.
Jason Garrett-Glaser [Tue, 16 Jun 2009 09:00:55 +0000 (09:00 +0000)]
idct_dc for VC-1/WMV3 decoder; ~11% faster decoding overall.
Includes mmx2 asm for the various functions.
Note that the actual idct still does not have an x86 SIMD implemtation.
For wmv3 files using regular idct, the decoder just falls back to simple_idct,
since simple_idct_dc doesn't exist (yet).

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

10 years agoFix typo in vc1.c, make capitalization in warning/error messages more consistent.
Jason Garrett-Glaser [Tue, 16 Jun 2009 00:48:07 +0000 (00:48 +0000)]
Fix typo in vc1.c, make capitalization in warning/error messages more consistent.

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

10 years agoAdd "config" make target to rerun configure with old options
Måns Rullgård [Mon, 15 Jun 2009 22:12:23 +0000 (22:12 +0000)]
Add "config" make target to rerun configure with old options

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

10 years agoconfigure: properly quote configure options stored in config.*
Måns Rullgård [Mon, 15 Jun 2009 22:12:21 +0000 (22:12 +0000)]
configure: properly quote configure options stored in config.*

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

10 years agoFix unaligned accesses by doing bytewise access until aligned, then
Ramiro Polla [Mon, 15 Jun 2009 14:38:30 +0000 (14:38 +0000)]
Fix unaligned accesses by doing bytewise access until aligned, then
continuing in 32-bit quantities.
Fixes crash observed on sparc during FATE mlp test.
Patch by Ramiro.

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

10 years agoThe AAC demuxer now depends on id3v1.o.
Patrick Dehne [Mon, 15 Jun 2009 08:38:11 +0000 (08:38 +0000)]
The AAC demuxer now depends on id3v1.o.
patch by Patrick Dehne, patrick mysonicweb com

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

10 years agocheck atom size against edit_count to avoid very long loop
Baptiste Coudurier [Mon, 15 Jun 2009 02:07:41 +0000 (02:07 +0000)]
check atom size against edit_count to avoid very long loop

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

10 years agofix probing and demuxing of pond.dv, issue #887
Baptiste Coudurier [Mon, 15 Jun 2009 01:41:59 +0000 (01:41 +0000)]
fix probing and demuxing of pond.dv, issue #887

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

10 years agodo not use av_parser_change for h264 which uses bitstream filter, fix #1027
Baptiste Coudurier [Sun, 14 Jun 2009 23:55:25 +0000 (23:55 +0000)]
do not use av_parser_change for h264 which uses bitstream filter, fix #1027

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

10 years agoregtest: print commands also for image format tests
Måns Rullgård [Sun, 14 Jun 2009 23:14:56 +0000 (23:14 +0000)]
regtest: print commands also for image format tests

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

10 years agoPrint error message when output buffer allocation fails
Måns Rullgård [Sun, 14 Jun 2009 23:14:54 +0000 (23:14 +0000)]
Print error message when output buffer allocation fails

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

10 years agoprint error when dv frame profile cannot be found
Baptiste Coudurier [Sun, 14 Jun 2009 22:41:30 +0000 (22:41 +0000)]
print error when dv frame profile cannot be found

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

10 years agocheck if frame size matches old sys and assumes corrupted input, fixes #1192
Baptiste Coudurier [Sun, 14 Jun 2009 22:34:28 +0000 (22:34 +0000)]
check if frame size matches old sys and assumes corrupted input, fixes #1192

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

10 years agoMerge FreeBSD and DragonFlyBSD OS detection sections.
Diego Biurrun [Sun, 14 Jun 2009 14:49:46 +0000 (14:49 +0000)]
Merge FreeBSD and DragonFlyBSD OS detection sections.
Apparently DragonFlyBSD does not need memalign either.

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

10 years agoAdd DragonFlyBSD to the list of supported OSes.
Adam Hoka [Sun, 14 Jun 2009 13:18:10 +0000 (13:18 +0000)]
Add DragonFlyBSD to the list of supported OSes.
patch by Adam Hoka, ahoka NetBSD org

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

10 years agoInitialise MAD decode_block_intra() loop iterator to zero.
Peter Ross [Sun, 14 Jun 2009 09:55:28 +0000 (09:55 +0000)]
Initialise MAD decode_block_intra() loop iterator to zero.

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

10 years agoG.729 decoder initialization routine (skeleton)
Vladimir Voroshilov [Sun, 14 Jun 2009 02:31:06 +0000 (02:31 +0000)]
G.729 decoder initialization routine (skeleton)

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

10 years agoReplace MAX_SUBFRAME_SIZE and ctx->subframe_size with SUBFRAME_SIZE,
Vladimir Voroshilov [Sun, 14 Jun 2009 02:29:39 +0000 (02:29 +0000)]
Replace MAX_SUBFRAME_SIZE and ctx->subframe_size with SUBFRAME_SIZE,
since subframe length is the same in all G.729 modes.

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

10 years agoAdd a VorbisComment metadata conversion table and use it in the FLAC and
Justin Ruggles [Sat, 13 Jun 2009 22:45:58 +0000 (22:45 +0000)]
Add a VorbisComment metadata conversion table and use it in the FLAC and
Ogg demuxers.

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

10 years agoDo not guess the channel layout when getting its string value.
Justin Ruggles [Sat, 13 Jun 2009 22:33:13 +0000 (22:33 +0000)]
Do not guess the channel layout when getting its string value.

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

10 years agomatroskadec: prepend TargetType to metadata key name
Aurelien Jacobs [Sat, 13 Jun 2009 22:29:38 +0000 (22:29 +0000)]
matroskadec: prepend TargetType to metadata key name

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

10 years agoRemove the 3-front-channel layout from the list of channel layout
Justin Ruggles [Sat, 13 Jun 2009 18:57:54 +0000 (18:57 +0000)]
Remove the 3-front-channel layout from the list of channel layout
aliases.  Calling this "surround" is confusing and questionable.

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

10 years agoCorrect reading bits in MPC SV8 base codes (when we have to read 0 or >16 bits).
Kostya Shishkov [Sat, 13 Jun 2009 06:41:51 +0000 (06:41 +0000)]
Correct reading bits in MPC SV8 base codes (when we have to read 0 or >16 bits).

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

10 years agoAllocate a bit more memory for MPC SV8 seek table, so bitreader won't read
Kostya Shishkov [Sat, 13 Jun 2009 06:39:01 +0000 (06:39 +0000)]
Allocate a bit more memory for MPC SV8 seek table, so bitreader won't read
beyond allocated block.

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

10 years agoAnalysis of logs show that there are in fact some files with m1v1 too (not just m2v2),
Jason Garrett-Glaser [Sat, 13 Jun 2009 03:02:16 +0000 (03:02 +0000)]
Analysis of logs show that there are in fact some files with m1v1 too (not just m2v2),
which is documented to be MPEG-1 video.  Adding fourcc to isom.c.

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

10 years agoElectronic Arts demuxer: support Madcow video tag
Peter Ross [Sat, 13 Jun 2009 02:20:54 +0000 (02:20 +0000)]
Electronic Arts demuxer: support Madcow video tag

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

10 years agoElectronic Arts Madcow decoder
Peter Ross [Sat, 13 Jun 2009 02:19:41 +0000 (02:19 +0000)]
Electronic Arts Madcow decoder

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

10 years agoAlso accept TS as a prefix for wav twoccs (used by Flip4Mac) instead of
David Conrad [Sat, 13 Jun 2009 00:50:57 +0000 (00:50 +0000)]
Also accept TS as a prefix for wav twoccs (used by Flip4Mac) instead of
adding entries to codec_movaudio_tags.
This ensures ADPCM_IMA_WAV uses the standard ms prefix when muxing to mov
rather than TS.

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

10 years agoAdd "0x11005354" as a fourcc for MOV audio; fixes audio detection in a problematic...
Jason Garrett-Glaser [Sat, 13 Jun 2009 00:16:39 +0000 (00:16 +0000)]
Add "0x11005354" as a fourcc for MOV audio; fixes audio detection in a problematic MOV file.
The audio is actually adpcm_ima_wav.

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

10 years agoCosmetics: Re-indent after last commit
Alex Converse [Fri, 12 Jun 2009 21:16:33 +0000 (21:16 +0000)]
Cosmetics: Re-indent after last commit

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

10 years agoMove TNS and swb_offset tables from aacdectab.h to aactab.c so that they can be
Alex Converse [Fri, 12 Jun 2009 21:14:45 +0000 (21:14 +0000)]
Move TNS and swb_offset tables from aacdectab.h to aactab.c so that they can be
shared with the AAC encoder.

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

10 years agoDo not include libavcodec/internal.h in the ADTS muxer.
Alex Converse [Fri, 12 Jun 2009 19:49:46 +0000 (19:49 +0000)]
Do not include libavcodec/internal.h in the ADTS muxer.

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

10 years agoAdd new FOURCC (0x0003) for raw DIB video, set flip flag accordingly.
Jason Garrett-Glaser [Fri, 12 Jun 2009 17:39:56 +0000 (17:39 +0000)]
Add new FOURCC (0x0003) for raw DIB video, set flip flag accordingly.
Fixes a few AVI files from what is probably a mobile phone video camera.

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

10 years agoMove run level decode functionality to ff_wma_run_level_decode
Sascha Sommer [Fri, 12 Jun 2009 16:00:26 +0000 (16:00 +0000)]
Move run level decode functionality to ff_wma_run_level_decode
so that it can be reused for wmapro

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

10 years agocosmetics: Add brackets between if/else
Sascha Sommer [Fri, 12 Jun 2009 15:48:41 +0000 (15:48 +0000)]
cosmetics: Add brackets between if/else

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

10 years agoAdd additional sample rates to the frame len bits calculation code
Sascha Sommer [Fri, 12 Jun 2009 15:38:11 +0000 (15:38 +0000)]
Add additional sample rates to the frame len bits calculation code

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

10 years agoFix placment of the DPCM Xan comment
Sascha Sommer [Fri, 12 Jun 2009 15:27:10 +0000 (15:27 +0000)]
Fix placment of the DPCM Xan comment

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

10 years agoMove frame len bits calculation to ff_wma_get_frame_len_bits
Sascha Sommer [Fri, 12 Jun 2009 15:21:43 +0000 (15:21 +0000)]
Move frame len bits calculation to ff_wma_get_frame_len_bits
so that it can be reused for wmapro

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

10 years agoAssociate the 0x6c75 TwoCC used in certain Kodak cameras
Jai Menon [Fri, 12 Jun 2009 13:21:01 +0000 (13:21 +0000)]
Associate the 0x6c75 TwoCC used in certain Kodak cameras
to the PCM Mu-law decoder.
Fixes Issue 1178.

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

10 years agocosmetics: Prettyprint and reformat wma.c closer to K&R style.
Diego Biurrun [Fri, 12 Jun 2009 13:12:13 +0000 (13:12 +0000)]
cosmetics: Prettyprint and reformat wma.c closer to K&R style.

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

10 years agoFail and print correct error message when video stream pixel format
Baptiste Coudurier [Fri, 12 Jun 2009 08:15:37 +0000 (08:15 +0000)]
Fail and print correct error message when video stream pixel format
is unknown.

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

10 years agoDPX (Digital Picture Exchange) image decoder
Jimmy Christensen [Fri, 12 Jun 2009 05:29:29 +0000 (05:29 +0000)]
DPX (Digital Picture Exchange) image decoder
patch by Jimmy Christensen, jimmy ghost dk

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

10 years agoAdd sac3 to mp4 fourccs for mov+h264+aac-sac3+mp4s+ETERNAL_cut.mp4
David Conrad [Fri, 12 Jun 2009 05:26:40 +0000 (05:26 +0000)]
Add sac3 to mp4 fourccs for mov+h264+aac-sac3+mp4s+ETERNAL_cut.mp4

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

10 years agoAdd "m2v1" to fourccs for MPEG-2 video; fixes some MOV files.
Jason Garrett-Glaser [Fri, 12 Jun 2009 02:20:26 +0000 (02:20 +0000)]
Add "m2v1" to fourccs for MPEG-2 video; fixes some MOV files.

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

10 years agoFix cast of byte buffer to uint32 that was disregarding alignment
Jeff Downs [Fri, 12 Jun 2009 02:13:12 +0000 (02:13 +0000)]
Fix cast of byte buffer to uint32 that was disregarding alignment
requirements.
Now calculates crc byte at a time until aligned, then continues with uint32
optimized calculation.
This fixes crashes during mlp decoding on sparc (at least, maybe others).

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

10 years agoAdd alternate fourcc for QCELP audio (qclq). Fixes a problematic MOV file.
Jason Garrett-Glaser [Fri, 12 Jun 2009 01:09:49 +0000 (01:09 +0000)]
Add alternate fourcc for QCELP audio (qclq).  Fixes a problematic MOV file.

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

10 years agocosmetics: Prettyprint one more line to have columns line up.
Diego Biurrun [Thu, 11 Jun 2009 20:45:35 +0000 (20:45 +0000)]
cosmetics: Prettyprint one more line to have columns line up.

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

10 years agoThe internal header libavutil/internal.h should not be used outside libavutil.
Diego Biurrun [Thu, 11 Jun 2009 20:18:29 +0000 (20:18 +0000)]
The internal header libavutil/internal.h should not be used outside libavutil.

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

10 years agoKill warnings of possibly unused variables by using av_unused.
Ramiro Polla [Thu, 11 Jun 2009 17:10:54 +0000 (17:10 +0000)]
Kill warnings of possibly unused variables by using av_unused.

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

10 years agocosmetics: Reformat to K&R and prettyprint newly created files.
Diego Biurrun [Thu, 11 Jun 2009 15:35:23 +0000 (15:35 +0000)]
cosmetics: Reformat to K&R and prettyprint newly created files.

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

10 years agoMove id3v2 parsing code from mp3.c to id3v2.h and id3v2.c.
Patrick Dehne [Thu, 11 Jun 2009 15:26:57 +0000 (15:26 +0000)]
Move id3v2 parsing code from mp3.c to id3v2.h and id3v2.c.
patch by Patrick Dehne, patrick mysonicweb com

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

10 years agoFix compilation: #undef standard library functions that are
Diego Biurrun [Thu, 11 Jun 2009 15:15:43 +0000 (15:15 +0000)]
Fix compilation: #undef standard library functions that are
forbidden within FFmpeg, but allowed in example code.

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

10 years agoAdd libavutil/internal.h #include, required for the DECLARE_ALIGNED macro.
Diego Biurrun [Thu, 11 Jun 2009 10:19:04 +0000 (10:19 +0000)]
Add libavutil/internal.h #include, required for the DECLARE_ALIGNED macro.
This fixes swscale-example compilation.

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

10 years agocosmetics: Reformat file to K&R style upon Kostya's request.
Diego Biurrun [Thu, 11 Jun 2009 10:16:51 +0000 (10:16 +0000)]
cosmetics: Reformat file to K&R style upon Kostya's request.

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

10 years ago10l: Add vc1dec.o to the list of WMV3 objects, same as for VC-1.
Diego Biurrun [Thu, 11 Jun 2009 09:40:24 +0000 (09:40 +0000)]
10l: Add vc1dec.o to the list of WMV3 objects, same as for VC-1.
Even after the split into shared and decoder-specific code, WMV3
continues to have the same dependencies as VC-1.

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

10 years agoSplit decoder-specific code off from vc1.c into vc1dec.c and keep code
Diego Biurrun [Thu, 11 Jun 2009 09:31:31 +0000 (09:31 +0000)]
Split decoder-specific code off from vc1.c into vc1dec.c and keep code
shared between decoder and parser in vc1.c.

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

10 years agoAdd const in cast. Removes warning:
Baptiste Coudurier [Thu, 11 Jun 2009 08:16:08 +0000 (08:16 +0000)]
Add const in cast. Removes warning:
libavcodec/resample.c:215: warning: assignment discards qualifiers from pointer target type

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

10 years agogive s->resample_context to avoid segfault, avclass was moved
Baptiste Coudurier [Thu, 11 Jun 2009 08:14:50 +0000 (08:14 +0000)]
give s->resample_context to avoid segfault, avclass was moved

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

10 years agoDisable native Vorbis encoder; quality is much worse than libvorbis and
David Conrad [Thu, 11 Jun 2009 06:28:06 +0000 (06:28 +0000)]
Disable native Vorbis encoder; quality is much worse than libvorbis and
there really isn't a reason to use it on purpose unless you're improving it.

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

10 years agoRemove time_rate, we cannot compute exactly when fragments are
Baptiste Coudurier [Thu, 11 Jun 2009 05:13:23 +0000 (05:13 +0000)]
Remove time_rate, we cannot compute exactly when fragments are
used and we cannot determine if fragments are present or not in
streamed mode.

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

10 years agoif b frames are parsed, set codec->has_b_frames
Baptiste Coudurier [Thu, 11 Jun 2009 04:30:05 +0000 (04:30 +0000)]
if b frames are parsed, set codec->has_b_frames

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

10 years agoRemove even condition on pad and crop.
Baptiste Coudurier [Thu, 11 Jun 2009 04:07:29 +0000 (04:07 +0000)]
Remove even condition on pad and crop.
Odd padding or cropping is needed when encoders only support
even resolution.

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

10 years agoAdd code to enable and disable all VAAPI and VDPAU parts.
Diego Biurrun [Wed, 10 Jun 2009 20:50:53 +0000 (20:50 +0000)]
Add code to enable and disable all VAAPI and VDPAU parts.
As a positive sideeffect, VAAPI/VDPAU objects need no longer be listed
for all VAAPI/VDPAU-related decoders.

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

10 years agoRemove Mans as MPEG-TS maintainer, he never intended to maintain MPEG-TS.
Diego Biurrun [Wed, 10 Jun 2009 19:36:18 +0000 (19:36 +0000)]
Remove Mans as MPEG-TS maintainer, he never intended to maintain MPEG-TS.

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

10 years agoSupport seeking as defined by the rfc
Luca Barbato [Wed, 10 Jun 2009 15:08:02 +0000 (15:08 +0000)]
Support seeking as defined by the rfc

a PLAY with Range alone while in PLAY status should be interpreted
as an enqueue
a PAUSE followed by a PLAY with Range is the proper way to ask to
seek to a point.

See rfc2326

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

10 years agoMake sure buffer end remains constant within the loop
Luca Barbato [Wed, 10 Jun 2009 14:56:50 +0000 (14:56 +0000)]
Make sure buffer end remains constant within the loop

otherwise ff_find_start_code could read over the buffer size

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

10 years agoAdd field prev_interlaced_frame to H264Context to be able to flag soft telecine
Haruhiko Yamagata [Tue, 9 Jun 2009 21:16:40 +0000 (21:16 +0000)]
Add field prev_interlaced_frame to H264Context to be able to flag soft telecine
progressive.

Patch by Haruhiko Yamagata, h D yamagata A nifty D com

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

10 years agoMake asf_get_packet() and asf_parse_packet() static. See "[PATCH] asfdec.c:
Ronald S. Bultje [Tue, 9 Jun 2009 20:58:32 +0000 (20:58 +0000)]
Make asf_get_packet() and asf_parse_packet() static. See "[PATCH] asfdec.c:
make get/parse_packet static" thread from 2 months ago.

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

10 years agoExpress the H.264 parser dependency on the golomb code in configure instead of
Diego Biurrun [Tue, 9 Jun 2009 20:29:52 +0000 (20:29 +0000)]
Express the H.264 parser dependency on the golomb code in configure instead of
in the Makefile as it is done for all other parts that depend on golomb.

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

10 years agoAdd missing dependencies for H.264 and VC-1 parsers.
Diego Biurrun [Tue, 9 Jun 2009 20:07:01 +0000 (20:07 +0000)]
Add missing dependencies for H.264 and VC-1 parsers.

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

10 years agoAdd additional dependencies for sdp and rtsp demuxers.
Jai Menon [Tue, 9 Jun 2009 18:30:15 +0000 (18:30 +0000)]
Add additional dependencies for sdp and rtsp demuxers.
This fixes compilation when the rtsp muxer is disabled.

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

10 years agoProperly initialize AVFrames to default values in the MPEG decoder (fixes
Luca Abeni [Tue, 9 Jun 2009 10:06:25 +0000 (10:06 +0000)]
Properly initialize AVFrames to default values in the MPEG decoder (fixes
the AVFrame pts when decoding MPEG 1 and 2 video)

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

10 years agocosmetics: Add missing ending backslash to installed header list.
Diego Biurrun [Tue, 9 Jun 2009 07:18:58 +0000 (07:18 +0000)]
cosmetics: Add missing ending backslash to installed header list.

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

10 years agoClarify (re)get_buffer() and CODEC_CAP_DR1 relation.
Michael Niedermayer [Sun, 7 Jun 2009 19:30:54 +0000 (19:30 +0000)]
Clarify (re)get_buffer() and CODEC_CAP_DR1 relation.

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

10 years agoRemove comments that refer to fixed-point AMR implementations.
Diego Biurrun [Sun, 7 Jun 2009 15:15:45 +0000 (15:15 +0000)]
Remove comments that refer to fixed-point AMR implementations.

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

10 years agoclarify avcodec_decode_audio3 and avcodec_decode_video2 doxygen
Baptiste Coudurier [Sat, 6 Jun 2009 20:16:53 +0000 (20:16 +0000)]
clarify avcodec_decode_audio3 and avcodec_decode_video2 doxygen

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

10 years agoK&R formatting of already submitted G.729 code
Vladimir Voroshilov [Sat, 6 Jun 2009 17:40:33 +0000 (17:40 +0000)]
K&R formatting of already submitted G.729 code

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

10 years agoCosmetics : Use dprintf instead of printf.
Peter Holik [Sat, 6 Jun 2009 17:32:59 +0000 (17:32 +0000)]
Cosmetics : Use dprintf instead of printf.
Patch by Peter Holik < $firstname @ $lastname . at >

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

10 years agoCosmetics : Fix indentation after last commit.
Jai Menon [Sat, 6 Jun 2009 16:46:40 +0000 (16:46 +0000)]
Cosmetics : Fix indentation after last commit.

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

10 years agoIntroduce http_get_line and modify http_connect to use http_get_line.
Peter Holik [Sat, 6 Jun 2009 16:44:21 +0000 (16:44 +0000)]
Introduce http_get_line and modify http_connect to use http_get_line.
Patch by Peter Holik <$firstname @ $lastname . at>

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

10 years agoConvert structure names to FFmpeg style
Vladimir Voroshilov [Sat, 6 Jun 2009 12:42:11 +0000 (12:42 +0000)]
Convert structure names to FFmpeg style

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