ffmpeg.git
11 years agoSupport for getting (i)MDCT output multiplied by a constant scaling factor.
Siarhei Siamashka [Sat, 16 May 2009 14:17:08 +0000 (14:17 +0000)]
Support for getting (i)MDCT output multiplied by a constant scaling factor.

Scaling (i)MDCT output has no runtime overhead and can be used to improve
performance of audio codecs. All the changes are only needed in
'ff_mdct_init' function and slow down initialization a bit.

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

11 years agoMove img_convert_ctx to VideoState and free it in stream_close().
Martin Storsjö [Sat, 16 May 2009 10:29:55 +0000 (10:29 +0000)]
Move img_convert_ctx to VideoState and free it in stream_close().

Patch by Martin Storsjö, martin martin st

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

11 years agoAdd missing frees to stream_close() and do_exit().
Martin Storsjö [Sat, 16 May 2009 10:26:41 +0000 (10:26 +0000)]
Add missing frees to stream_close() and do_exit().

Patch by Martin Storsjö, martin martin st

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

11 years agoFix off-by-one error in MS RLE decoder which may result into writing past
Kostya Shishkov [Sat, 16 May 2009 06:39:08 +0000 (06:39 +0000)]
Fix off-by-one error in MS RLE decoder which may result into writing past
picture buffer.

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

11 years agomove increment after debug print
Baptiste Coudurier [Sat, 16 May 2009 04:08:34 +0000 (04:08 +0000)]
move increment after debug print

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

11 years agocosmetics: K&R coding style, indent correctly, break overly long lines
Diego Biurrun [Fri, 15 May 2009 22:46:29 +0000 (22:46 +0000)]
cosmetics: K&R coding style, indent correctly, break overly long lines

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

11 years agoReplace 'x == 0' if conditions with '!x'.
Diego Biurrun [Fri, 15 May 2009 22:41:26 +0000 (22:41 +0000)]
Replace 'x == 0' if conditions with '!x'.

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

11 years agocosmetics: Remove pointless {}.
Diego Biurrun [Fri, 15 May 2009 20:12:45 +0000 (20:12 +0000)]
cosmetics: Remove pointless {}.

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

11 years agoSurround AMR_WB encoding code by appropriate #ifdefs.
Diego Biurrun [Fri, 15 May 2009 19:03:45 +0000 (19:03 +0000)]
Surround AMR_WB encoding code by appropriate #ifdefs.
This will help support the opencore AMR library.

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

11 years agocosmetics: Move some more code around to avoid #ifdeffery.
Diego Biurrun [Fri, 15 May 2009 18:54:36 +0000 (18:54 +0000)]
cosmetics: Move some more code around to avoid #ifdeffery.

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

11 years agocosmetics: Move functions around so that encoding and decoding functions are
Diego Biurrun [Fri, 15 May 2009 17:34:26 +0000 (17:34 +0000)]
cosmetics: Move functions around so that encoding and decoding functions are
grouped together. This will save some #ifdefs.

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

11 years agoRemove redundant #if condition. Two CONFIG_LIBAMR_NB blocks were right after
Diego Biurrun [Fri, 15 May 2009 17:22:41 +0000 (17:22 +0000)]
Remove redundant #if condition. Two CONFIG_LIBAMR_NB blocks were right after
each other so that the second check was pointless.

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

11 years agoAdd av_cold attribute to amr_nb decoding/encoding initialization functions.
Diego Biurrun [Fri, 15 May 2009 17:15:12 +0000 (17:15 +0000)]
Add av_cold attribute to amr_nb decoding/encoding initialization functions.

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

11 years agoBugfix for bug introduced in the multichannel cook patchset.
Benjamin Larsson [Fri, 15 May 2009 16:25:54 +0000 (16:25 +0000)]
Bugfix for bug introduced in the multichannel cook patchset.

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

11 years agomlp: Simplify adressing of state and coeffs arrays for both filters by making
Ramiro Polla [Fri, 15 May 2009 15:34:22 +0000 (15:34 +0000)]
mlp: Simplify adressing of state and coeffs arrays for both filters by making
the arrays sequential.

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

11 years agomlp: include mlp.h and use MAX_CHANNELS instead of hardcoding value 8.
Ramiro Polla [Fri, 15 May 2009 15:30:43 +0000 (15:30 +0000)]
mlp: include mlp.h and use MAX_CHANNELS instead of hardcoding value 8.

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

11 years agoEnsure that we don't read from invalid memory with B-frame qpel
David Conrad [Fri, 15 May 2009 07:49:59 +0000 (07:49 +0000)]
Ensure that we don't read from invalid memory with B-frame qpel

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

11 years agowrite 'stps' for mpeg-2 open gop in .mov
Baptiste Coudurier [Fri, 15 May 2009 06:11:53 +0000 (06:11 +0000)]
write 'stps' for mpeg-2 open gop in .mov

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

11 years agodecode mpeg-2 closed gop first b frames, fix issue #824
Baptiste Coudurier [Fri, 15 May 2009 05:39:44 +0000 (05:39 +0000)]
decode mpeg-2 closed gop first b frames, fix issue #824

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

11 years agofree Track and unset priv_data to avoid double free, fix memleak
Baptiste Coudurier [Fri, 15 May 2009 05:33:05 +0000 (05:33 +0000)]
free Track and unset priv_data to avoid double free, fix memleak

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

11 years agoreindent
Baptiste Coudurier [Fri, 15 May 2009 04:44:37 +0000 (04:44 +0000)]
reindent

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

11 years agoremove unneeded length checks
Baptiste Coudurier [Fri, 15 May 2009 04:43:44 +0000 (04:43 +0000)]
remove unneeded length checks

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

11 years agochange pic type to Picture* and remove casts
Baptiste Coudurier [Fri, 15 May 2009 02:01:53 +0000 (02:01 +0000)]
change pic type to Picture* and remove casts

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

11 years agoImplement av_set_options_string().
Stefano Sabatini [Thu, 14 May 2009 22:57:08 +0000 (22:57 +0000)]
Implement av_set_options_string().

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

11 years agouse flags field and remove key_frame field
Baptiste Coudurier [Thu, 14 May 2009 21:05:52 +0000 (21:05 +0000)]
use flags field and remove key_frame field

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

11 years agochange cts type to int, save some space
Baptiste Coudurier [Thu, 14 May 2009 20:54:19 +0000 (20:54 +0000)]
change cts type to int, save some space

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

11 years agoDocument av_set_string3() returned error codes.
Stefano Sabatini [Thu, 14 May 2009 19:03:22 +0000 (19:03 +0000)]
Document av_set_string3() returned error codes.

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

11 years agoAdd support in av_parse_color() to a "random" color name, which will
Stefano Sabatini [Thu, 14 May 2009 18:58:06 +0000 (18:58 +0000)]
Add support in av_parse_color() to a "random" color name, which will
result in a randomly choosen random color, as it is with the
"bikeshed" color.

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

11 years agoMake case insensitive the match for the color name in
Stefano Sabatini [Thu, 14 May 2009 18:54:25 +0000 (18:54 +0000)]
Make case insensitive the match for the color name in
av_parse_color().

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

11 years agoMake av_set_string3() print a message in case of unknown option.
Stefano Sabatini [Thu, 14 May 2009 18:50:58 +0000 (18:50 +0000)]
Make av_set_string3() print a message in case of unknown option.

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

11 years agoProvide a context to av_log() calls in av_set_number2() and
Stefano Sabatini [Thu, 14 May 2009 18:43:43 +0000 (18:43 +0000)]
Provide a context to av_log() calls in av_set_number2() and
av_set_string3().

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

11 years agoUse a single space after an ending period and the beginning of the
Stefano Sabatini [Thu, 14 May 2009 18:19:42 +0000 (18:19 +0000)]
Use a single space after an ending period and the beginning of the
next sentence, consistent with the FFmpeg documentation style.

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

11 years agoApply documentation fixes: use third person, fix grammar and remove
Stefano Sabatini [Thu, 14 May 2009 18:13:17 +0000 (18:13 +0000)]
Apply documentation fixes: use third person, fix grammar and remove
inconsistent '\p'.

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

11 years agoAdd gnu/kfreebsd to list of recognized operating systems.
Andres Mejia [Thu, 14 May 2009 11:45:41 +0000 (11:45 +0000)]
Add gnu/kfreebsd to list of recognized operating systems.
patch by Andres Mejia, mcitadel gmail com

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

11 years agoFix for issue #829 ("ffvorbis outputs crackling sound, libvorbis plays fine")
Siarhei Siamashka [Thu, 14 May 2009 06:38:49 +0000 (06:38 +0000)]
Fix for issue #829 ("ffvorbis outputs crackling sound, libvorbis plays fine")

This was off-by-one bug which affects floor0 encoded files. Tracked down
by valgrind (was reported as the use of uninitialized memory).

With this patch applied, tiny_psnr now reports the following when ffvorbis
is compared to libvorbis-1.0beta4 output for 'lsp-test.ogg' sample:
stddev:    0.76 PSNR: 98.69 bytes:  3498380/  3498452

Output from libvorbis-1.2 is substantially different:
stddev:  132.57 PSNR: 53.87 bytes:  3498424/  3498496

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

11 years agoFix VBV delay for mpeg1/2 CBR.
Michael Niedermayer [Thu, 14 May 2009 03:37:58 +0000 (03:37 +0000)]
Fix VBV delay for mpeg1/2 CBR.

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

11 years agoUse skip_bits_long() for large skips
David Conrad [Thu, 14 May 2009 00:02:07 +0000 (00:02 +0000)]
Use skip_bits_long() for large skips
This fixes ogg/theora on ARM (more generally the A32 bitstream reader)

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

11 years agoAdd PCE support to the ADTS muxer.
Alex Converse [Wed, 13 May 2009 22:59:58 +0000 (22:59 +0000)]
Add PCE support to the ADTS muxer.

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

11 years agoSubroutine to copy an AAC Program Config Element (PCE)
Alex Converse [Wed, 13 May 2009 22:57:30 +0000 (22:57 +0000)]
Subroutine to copy an AAC Program Config Element (PCE)

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

11 years agoCosmetics after last commit
Alex Converse [Wed, 13 May 2009 17:59:46 +0000 (17:59 +0000)]
Cosmetics after last commit

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

11 years agoAllow parsing and decoding of ADTS AAC files with channel config = 0
Alex Converse [Wed, 13 May 2009 17:57:58 +0000 (17:57 +0000)]
Allow parsing and decoding of ADTS AAC files with channel config = 0

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

11 years agoMove the ADTS header size to the parser's header file.
Alex Converse [Wed, 13 May 2009 14:11:11 +0000 (14:11 +0000)]
Move the ADTS header size to the parser's header file.

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

11 years agoparse 'stps' atom to set keyframe, partial sync sample for mpeg-2 open gop
Baptiste Coudurier [Wed, 13 May 2009 08:31:22 +0000 (08:31 +0000)]
parse 'stps' atom to set keyframe, partial sync sample for mpeg-2 open gop

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

11 years agoalign and update doxygen
Baptiste Coudurier [Wed, 13 May 2009 08:01:33 +0000 (08:01 +0000)]
align and update doxygen

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

11 years agoremove comment
Baptiste Coudurier [Wed, 13 May 2009 07:57:08 +0000 (07:57 +0000)]
remove comment

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

11 years agoParse 'cslg' atom to retrieve dts shift when 'ctts' duration is negative.
Baptiste Coudurier [Wed, 13 May 2009 07:55:03 +0000 (07:55 +0000)]
Parse 'cslg' atom to retrieve dts shift when 'ctts' duration is negative.
We have now dts <= pts, note that for some B frames dts+1 == pts can happen
if a crappy timebase is used instead of correct /1001.

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

11 years agoAdd a quick description to the H.264 BSF
Alex Converse [Wed, 13 May 2009 06:06:59 +0000 (06:06 +0000)]
Add a quick description to the H.264 BSF

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

11 years agofactorize av_set_pts_info
Baptiste Coudurier [Wed, 13 May 2009 04:22:53 +0000 (04:22 +0000)]
factorize av_set_pts_info

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

11 years agocosmetics, alignment
Baptiste Coudurier [Wed, 13 May 2009 04:20:23 +0000 (04:20 +0000)]
cosmetics, alignment

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

11 years agoadd casts to silence gcc warnings
Baptiste Coudurier [Wed, 13 May 2009 00:32:46 +0000 (00:32 +0000)]
add casts to silence gcc warnings

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

11 years agoadd casts to silence gcc warnings
Baptiste Coudurier [Wed, 13 May 2009 00:27:11 +0000 (00:27 +0000)]
add casts to silence gcc warnings

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

11 years agoFix bandwith vs. bandwiDth typo.
Diego Biurrun [Tue, 12 May 2009 23:40:22 +0000 (23:40 +0000)]
Fix bandwith vs. bandwiDth typo.

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

11 years agov210 mov fourcc
Baptiste Coudurier [Tue, 12 May 2009 20:00:11 +0000 (20:00 +0000)]
v210 mov fourcc

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

11 years agov210 avi fourcc, v210_720p.avi
Baptiste Coudurier [Tue, 12 May 2009 19:58:13 +0000 (19:58 +0000)]
v210 avi fourcc, v210_720p.avi

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

11 years agoV210 Uncompressed 4:2:2 10-bit encoder and decoder
Baptiste Coudurier [Tue, 12 May 2009 19:56:48 +0000 (19:56 +0000)]
V210 Uncompressed 4:2:2 10-bit encoder and decoder

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

11 years agoPer-stream language-tags extraction in asfdec.
Cyril Comparon [Tue, 12 May 2009 12:35:46 +0000 (12:35 +0000)]
Per-stream language-tags extraction in asfdec.
Patch by Cyril Comparon: gmail(name, surname);
Original thread: Suggestion for a centralized language-tag facility in libavformat
Date: 04/10/2009 07:33 PM

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

11 years agoCopy input codec's chroma_sample_location to output codec when transcoding.
David Conrad [Tue, 12 May 2009 00:47:19 +0000 (00:47 +0000)]
Copy input codec's chroma_sample_location to output codec when transcoding.
Currently only used by yuv4mpeg.

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

11 years agoSupport 16K samplerate in Nellymoser.
Alexander Chemeris [Mon, 11 May 2009 19:21:49 +0000 (19:21 +0000)]
Support 16K samplerate in Nellymoser.
patch by Alexander Chemeris, ipse.ffmpeg gmail.com

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

11 years agoUpdate regression tests for y4m after r18796
David Conrad [Mon, 11 May 2009 08:45:20 +0000 (08:45 +0000)]
Update regression tests for y4m after r18796
The default changed from 420mpeg2 to 420jpeg

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

11 years agoUse chroma_sample_location in reading/writing yuv4mpeg
David Conrad [Mon, 11 May 2009 04:35:15 +0000 (04:35 +0000)]
Use chroma_sample_location in reading/writing yuv4mpeg

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

11 years agoAdd a chroma_sample_location field to define positioning of chroma samples
David Conrad [Mon, 11 May 2009 04:34:23 +0000 (04:34 +0000)]
Add a chroma_sample_location field to define positioning of chroma samples

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

11 years agoPPC: 32-bit asm for MAC64 and MLS64
Måns Rullgård [Mon, 11 May 2009 02:41:50 +0000 (02:41 +0000)]
PPC: 32-bit asm for MAC64 and MLS64

GCC makes a mess of these operations, so give it a hand.

55% faster MP3 decoding on G4.

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

11 years agomove free data in the video case
Baptiste Coudurier [Mon, 11 May 2009 02:36:57 +0000 (02:36 +0000)]
move free data in the video case

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

11 years agowrite a single pes for video frames, some proprietary player needs it
Baptiste Coudurier [Mon, 11 May 2009 02:30:29 +0000 (02:30 +0000)]
write a single pes for video frames, some proprietary player needs it

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

11 years agosgi encoder does not support pal8
Baptiste Coudurier [Sun, 10 May 2009 22:36:16 +0000 (22:36 +0000)]
sgi encoder does not support pal8

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

11 years agorgb555le, rgb565le, rgb565be, bgr24 in .mov muxing
Baptiste Coudurier [Sun, 10 May 2009 20:41:01 +0000 (20:41 +0000)]
rgb555le, rgb565le, rgb565be, bgr24 in .mov muxing

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

11 years agobgra in .mov muxing
Baptiste Coudurier [Sun, 10 May 2009 20:14:42 +0000 (20:14 +0000)]
bgra in .mov muxing

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

11 years agocorrect pixfmt for argb
Baptiste Coudurier [Sun, 10 May 2009 20:12:36 +0000 (20:12 +0000)]
correct pixfmt for argb

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

11 years agorgba in .mov muxing
Baptiste Coudurier [Sun, 10 May 2009 20:11:11 +0000 (20:11 +0000)]
rgba in .mov muxing

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

11 years agoreindent
Baptiste Coudurier [Sun, 10 May 2009 19:11:06 +0000 (19:11 +0000)]
reindent

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

11 years agocheck for palette presence, fix crash with QT-BMP.mov, issue #1074
Baptiste Coudurier [Sun, 10 May 2009 19:10:37 +0000 (19:10 +0000)]
check for palette presence, fix crash with QT-BMP.mov, issue #1074

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

11 years agoRemove dead nested assignment found by CSA
Benjamin Larsson [Sun, 10 May 2009 14:44:09 +0000 (14:44 +0000)]
Remove dead nested assignment found by CSA

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

11 years agoRemove unused code found by CSA
Benjamin Larsson [Sun, 10 May 2009 14:33:40 +0000 (14:33 +0000)]
Remove unused code found by CSA

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

11 years agoAdd const qualifier to param argument of sws_getContext() and
Diego Biurrun [Sun, 10 May 2009 14:00:00 +0000 (14:00 +0000)]
Add const qualifier to param argument of sws_getContext() and
sws_getCachedContext().  Fixes the warning:
swscale.c:3408: warning: assignment discards qualifiers from pointer target type

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

11 years agoMove preprocessor condition before variable declaration, fixes the warning:
Diego Biurrun [Sun, 10 May 2009 11:37:04 +0000 (11:37 +0000)]
Move preprocessor condition before variable declaration, fixes the warning:
libswscale/swscale.c:1795: warning: unused variable 'flags'

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

11 years agoensure first pts is set, according to specs
Baptiste Coudurier [Sun, 10 May 2009 01:57:21 +0000 (01:57 +0000)]
ensure first pts is set, according to specs

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

11 years agoremove useless max_payload_size variable
Baptiste Coudurier [Sun, 10 May 2009 01:41:35 +0000 (01:41 +0000)]
remove useless max_payload_size variable

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

11 years agodo not write dts if pts is not set
Baptiste Coudurier [Sun, 10 May 2009 01:37:58 +0000 (01:37 +0000)]
do not write dts if pts is not set

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

11 years agofix total bitrate computation, based on patch by corp186, chasedouglas at gmail dot com
Baptiste Coudurier [Sun, 10 May 2009 01:02:18 +0000 (01:02 +0000)]
fix total bitrate computation, based on patch by corp186, chasedouglas at gmail dot com

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

11 years agoupdate comment for rgb 16 bit in .mov
Baptiste Coudurier [Sun, 10 May 2009 00:53:02 +0000 (00:53 +0000)]
update comment for rgb 16 bit in .mov

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

11 years agoAdd @code/@endcode commands to markup C code in av_tree_insert() doxy.
Stefano Sabatini [Sat, 9 May 2009 23:02:20 +0000 (23:02 +0000)]
Add @code/@endcode commands to markup C code in av_tree_insert() doxy.

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

11 years agoAdd missing '*' to av_tree_insert() doxy.
Stefano Sabatini [Sat, 9 May 2009 23:00:46 +0000 (23:00 +0000)]
Add missing '*' to av_tree_insert() doxy.

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

11 years agoAdd necessary header for CONFIG_RUNTIME_CPUDETECT preprocessor definition.
Diego Biurrun [Sat, 9 May 2009 12:26:05 +0000 (12:26 +0000)]
Add necessary header for CONFIG_RUNTIME_CPUDETECT preprocessor definition.

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

11 years agoAdd missing const qualifiers to AltiVec function parameters where appropriate.
Diego Biurrun [Sat, 9 May 2009 10:56:37 +0000 (10:56 +0000)]
Add missing const qualifiers to AltiVec function parameters where appropriate.
Fixes a couple of 'discards qualifiers from pointer target type' warnings.

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

11 years agodata parameter of dnxhd_encode_picture() should not be const.
Daniel Verkamp [Fri, 8 May 2009 19:41:21 +0000 (19:41 +0000)]
data parameter of dnxhd_encode_picture() should not be const.
Fixes "dnxhdenc.c:805: warning: initialization from incompatible pointer type".
patch by Daniel Verkamp, daniel drv nu

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

11 years ago"[" is a terminating char for the filter name. This fixes the parsing of
Vitor Sessak [Fri, 8 May 2009 19:14:21 +0000 (19:14 +0000)]
"[" is a terminating char for the filter name. This fixes the parsing of
things like

[in] vflip [out];

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

11 years agoCorrect x/ymin to avoid segfault due to out of picture reads.
Michael Niedermayer [Fri, 8 May 2009 15:14:36 +0000 (15:14 +0000)]
Correct x/ymin to avoid segfault due to out of picture reads.

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

11 years agoFix sliced yuv410 -> yuv420 conversion
Vitor Sessak [Thu, 7 May 2009 20:41:04 +0000 (20:41 +0000)]
Fix sliced yuv410 -> yuv420 conversion

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

11 years agoWarning fix: Make ogg_stream.codec const
Daniel Verkamp [Wed, 6 May 2009 23:02:26 +0000 (23:02 +0000)]
Warning fix: Make ogg_stream.codec const

This matches the return value of ogg_find_codec and fixes
"libavformat/oggdec.c:333: warning: assignment discards qualifiers from
pointer target type"

Patch by Daniel Verkamp (daniel - drv . nu)

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

11 years agoChange codec_id type to enum CodecID, fix warning.
Daniel Verkamp [Wed, 6 May 2009 22:38:21 +0000 (22:38 +0000)]
Change codec_id type to enum CodecID, fix warning.

Patch by Daniel Verkamp daniel @ drv @ nu.

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

11 years agoUpdate docs after the 8088flex TMV demuxer and decoder addition.
Daniel Verkamp [Wed, 6 May 2009 22:06:19 +0000 (22:06 +0000)]
Update docs after the 8088flex TMV demuxer and decoder addition.

Patch by Daniel Verkamp daniel AT drv + nu.

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

11 years agoAdd 8088flex TMV file demuxer.
Daniel Verkamp [Wed, 6 May 2009 22:01:54 +0000 (22:01 +0000)]
Add 8088flex TMV file demuxer.

Patch by Daniel Verkamp daniel|at|drv|nu.

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

11 years agoAdd 8088flex TMV video decoder.
Daniel Verkamp [Wed, 6 May 2009 21:57:20 +0000 (21:57 +0000)]
Add 8088flex TMV video decoder.

Patch by Daniel Verkamp name at drv ... nu.

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

11 years agoAdd CGA and palette data for 8088flex TMV decoder.
Daniel Verkamp [Wed, 6 May 2009 21:51:58 +0000 (21:51 +0000)]
Add CGA and palette data for 8088flex TMV decoder.

Patch by Daniel Verkamp  daniel _AT_ drv DOT nu.

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

11 years agomlpdec: Fix possible writing out of array bounds introduced by being
Ramiro Polla [Wed, 6 May 2009 16:01:28 +0000 (16:01 +0000)]
mlpdec: Fix possible writing out of array bounds introduced by being
under-paranoid in r18651.

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

11 years agomlpdec: Split sync word error and MLP sync word check.
Ramiro Polla [Wed, 6 May 2009 15:46:10 +0000 (15:46 +0000)]
mlpdec: Split sync word error and MLP sync word check.
The previous code would print the wrong error message for MLP streams with
TrueHD noise type.

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

11 years agomlpdec: Fix indentation that got mangled from copy&paste.
Ramiro Polla [Wed, 6 May 2009 15:37:25 +0000 (15:37 +0000)]
mlpdec: Fix indentation that got mangled from copy&paste.

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

11 years agoAccept "bikeshed" as a random color.
Ramiro Polla [Wed, 6 May 2009 15:25:30 +0000 (15:25 +0000)]
Accept "bikeshed" as a random color.

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

11 years agoAdd 32-bit RGB support to TIFF decoder and extend a bit 'unsupported format' message
Kostya Shishkov [Wed, 6 May 2009 06:49:04 +0000 (06:49 +0000)]
Add 32-bit RGB support to TIFF decoder and extend a bit 'unsupported format' message

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

11 years agoAdd floating point audio decoding to WavPack decoder.
Laurent Aimar [Wed, 6 May 2009 05:40:43 +0000 (05:40 +0000)]
Add floating point audio decoding to WavPack decoder.
Patch by Laurent Aimar (fenrir at `antonym of 'audio'+antonym of 'WAN'` dot org)

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