ffmpeg.git
10 years agoJust ignore streams with unknown codec_type instead of exiting
David Conrad [Fri, 5 Mar 2010 00:22:37 +0000 (00:22 +0000)]
Just ignore streams with unknown codec_type instead of exiting

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

10 years agoCosmetics: use consistent spacing in the ffprobe.c options table.
Stefano Sabatini [Thu, 4 Mar 2010 23:35:30 +0000 (23:35 +0000)]
Cosmetics: use consistent spacing in the ffprobe.c options table.

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

10 years agoFixed DXVA2 H264 hwaccel after luma/chroma_weight changes.
Laurent Aimar [Thu, 4 Mar 2010 19:12:20 +0000 (19:12 +0000)]
Fixed DXVA2 H264 hwaccel after luma/chroma_weight changes.

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

10 years agoFixed buffer overread in flashsv decoder.
Laurent Aimar [Thu, 4 Mar 2010 19:10:44 +0000 (19:10 +0000)]
Fixed buffer overread in flashsv decoder.

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

10 years agoSupport BGR555, BGR565, RGB555 and RGB565 foreign endian output in
Alexis Ballier [Thu, 4 Mar 2010 16:57:04 +0000 (16:57 +0000)]
Support BGR555, BGR565, RGB555 and RGB565 foreign endian output in
libswscale.

Patch by Alexis Ballier, alexis D ballier A gmail

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

10 years agoCheck url_interrupt_cb in rtp_read, wait in select for max 100 ms before rechecking...
Martin Storsjö [Thu, 4 Mar 2010 15:08:54 +0000 (15:08 +0000)]
Check url_interrupt_cb in rtp_read, wait in select for max 100 ms before rechecking url_interrupt_cb

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

10 years agohandle errors reported by av_get_packet() in Bink demuxer
Peter Ross [Thu, 4 Mar 2010 13:27:53 +0000 (13:27 +0000)]
handle errors reported by av_get_packet() in Bink demuxer

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

10 years agoGuard against invalid memory read
Peter Ross [Thu, 4 Mar 2010 13:26:01 +0000 (13:26 +0000)]
Guard against invalid memory read

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

10 years agoAAC: Return the number of bytes consumed in decoding a frame.
Alex Converse [Thu, 4 Mar 2010 12:34:15 +0000 (12:34 +0000)]
AAC: Return the number of bytes consumed in decoding a frame.

The libfaad wrapper does this.

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

10 years agoffmpeg.c: Don't use NULL for integer metadata flags.
Alex Converse [Thu, 4 Mar 2010 11:27:39 +0000 (11:27 +0000)]
ffmpeg.c: Don't use NULL for integer metadata flags.

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

10 years agoReally fix 2.95
David Conrad [Thu, 4 Mar 2010 10:01:03 +0000 (10:01 +0000)]
Really fix 2.95

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

10 years agoMaybe fix gcc 2.95
David Conrad [Thu, 4 Mar 2010 09:25:42 +0000 (09:25 +0000)]
Maybe fix gcc 2.95

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

10 years agoCope with rev 22183:
Gwenole Beauchesne [Thu, 4 Mar 2010 09:14:19 +0000 (09:14 +0000)]
Cope with rev 22183:
Reorder indexes in weight tables.

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

10 years agoEnsure that we write clusters and blocks with known size when streaming
David Conrad [Thu, 4 Mar 2010 08:53:14 +0000 (08:53 +0000)]
Ensure that we write clusters and blocks with known size when streaming

Too many demuxers can't cope with clusters of unknown size.

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

10 years agoFix indentation
David Conrad [Thu, 4 Mar 2010 08:53:11 +0000 (08:53 +0000)]
Fix indentation

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

10 years agoSimplify starting and ending clusters
David Conrad [Thu, 4 Mar 2010 08:53:08 +0000 (08:53 +0000)]
Simplify starting and ending clusters

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

10 years agoWrite the first seekhead if writing to a stream, we won't be able to seek
David Conrad [Thu, 4 Mar 2010 08:53:04 +0000 (08:53 +0000)]
Write the first seekhead if writing to a stream, we won't be able to seek
back and write it at the end

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

10 years agoAttempt seeking to write EBML master sizes even if streamed
David Conrad [Thu, 4 Mar 2010 08:53:00 +0000 (08:53 +0000)]
Attempt seeking to write EBML master sizes even if streamed

Most EBML masters are much smaller than IO_BUFFER_SIZE and thus the size
can be updated. This makes parsing the resulting files easier.

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

10 years agoAAC: Mark predictor functions av_always_inline.
Alex Converse [Thu, 4 Mar 2010 04:58:43 +0000 (04:58 +0000)]
AAC: Mark predictor functions av_always_inline.

This results in a 50% speedup on main profile with no increase in binary size.

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

10 years agoCosmetics: Re-indent after last commit.
Alex Converse [Thu, 4 Mar 2010 02:32:48 +0000 (02:32 +0000)]
Cosmetics: Re-indent after last commit.

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

10 years agoAAC parser: Don't write channels, sample rate, and frame size each frame.
Alex Converse [Thu, 4 Mar 2010 02:30:51 +0000 (02:30 +0000)]
AAC parser: Don't write channels, sample rate, and frame size each frame.

Thanks to backwards compatible HE-AAC signalling these values are unreliable.

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

10 years agoPort Optimizations about *_type init from decode to filter code.
Michael Niedermayer [Thu, 4 Mar 2010 02:00:05 +0000 (02:00 +0000)]
Port Optimizations about *_type init from decode to filter code.
1 cpu cycle faster

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

10 years agoOptimize *_type init, 1.5 cpu cycles faster.
Michael Niedermayer [Thu, 4 Mar 2010 01:03:15 +0000 (01:03 +0000)]
Optimize *_type init, 1.5 cpu cycles faster.

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

10 years agoRevert r30825, it was not supposed to be committed.
Stefano Sabatini [Thu, 4 Mar 2010 01:02:24 +0000 (01:02 +0000)]
Revert r30825, it was not supposed to be committed.

127.32L to me, beware when using git svn dcommit for committing stuff
to svn...

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

10 years agoFill the r, g, b values used for computing the c->pal_yuv table in the
Stefano Sabatini [Thu, 4 Mar 2010 00:31:13 +0000 (00:31 +0000)]
Fill the r, g, b values used for computing the c->pal_yuv table in the
case where the source format is PIX_FMT_GRAY8.

This is required as PIX_FMT_GRAY8 has been declared as a paletted
format in FFmpeg r22191, fix GRAY8 -> RGB conversion.

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

10 years agoMake swscale-test take in input the name of the input and the output
Stefano Sabatini [Thu, 4 Mar 2010 00:31:10 +0000 (00:31 +0000)]
Make swscale-test take in input the name of the input and the output
format.

Make swscale-test only perform the test from the input to the output
format rather than perform all.

Also implement swscale-test-all.sh, for performing all the tests.

Improve flexibility of the swscale-test tool, this way is simpler to
perform only a subset of tests.

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

10 years agoDeclare the PIX_FMT_GRAY8 pixel format as a paletted format. This is
Stefano Sabatini [Thu, 4 Mar 2010 00:27:46 +0000 (00:27 +0000)]
Declare the PIX_FMT_GRAY8 pixel format as a paletted format.  This is
consistent with the allocation currently done for PIX_FMT_GRAY8
pictures.

No significant slow-downs have been measured.

See the thread:
Subject: [FFmpeg-devel] [PATCH] Is gray8 a paletted format?
Date: Sun, 15 Nov 2009 23:36:03 +0100

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

10 years agoDelay translating DCT tokens into coefficients until immediately before IDCT
David Conrad [Wed, 3 Mar 2010 23:27:43 +0000 (23:27 +0000)]
Delay translating DCT tokens into coefficients until immediately before IDCT

This is generally around 12% faster than the prior method of creating a
linked list for each block as tokens are read, but can be anywhere from
8% to 28% faster depending on file and CPU.

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

10 years agoDo MC and IDCT in coding (hilbert) order
David Conrad [Wed, 3 Mar 2010 23:27:40 +0000 (23:27 +0000)]
Do MC and IDCT in coding (hilbert) order

This increases the slice size to 64 pixels, due to having to decode an
entire chroma superblock row per slice.

This can be up to 6% slower depending on clip and CPU, but is necessary
for future optimizations that gain significantly more than was lost.

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

10 years agoExplictly separate decoding whether fragments are coded by plane
David Conrad [Wed, 3 Mar 2010 23:27:37 +0000 (23:27 +0000)]
Explictly separate decoding whether fragments are coded by plane

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

10 years agomatroskaenc: use "title" tag instead of "description" in track title.
Anton Khirnov [Wed, 3 Mar 2010 23:27:34 +0000 (23:27 +0000)]
matroskaenc: use "title" tag instead of "description" in track title.

Patch by Anton Khirnov < whyskas at gmail >

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

10 years agomove vp6 huffman table freeing code, out of common vp56 code
Aurelien Jacobs [Wed, 3 Mar 2010 22:29:06 +0000 (22:29 +0000)]
move vp6 huffman table freeing code, out of common vp56 code

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

10 years agomatroskadec: cosmetic indentation
Aurelien Jacobs [Wed, 3 Mar 2010 21:49:24 +0000 (21:49 +0000)]
matroskadec: cosmetic indentation

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

10 years agomatroskadec: timestamps are dts and not pts in ms vfw compatibility mode
Joakim Plate [Wed, 3 Mar 2010 21:46:43 +0000 (21:46 +0000)]
matroskadec: timestamps are dts and not pts in ms vfw compatibility mode
original patch by elupus _at_ ecce _dot_ se

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

10 years agoReorder indexes in weight tables.
Michael Niedermayer [Wed, 3 Mar 2010 21:10:08 +0000 (21:10 +0000)]
Reorder indexes in weight tables.
5 cpu cycles faster.

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

10 years agoProperly pad H.264 extradata when taken from fmtp SDP attributes
Martin Storsjö [Wed, 3 Mar 2010 21:00:50 +0000 (21:00 +0000)]
Properly pad H.264 extradata when taken from fmtp SDP attributes

This fixes some valgrind warnings.

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

10 years agoMove all context fields that are not used in the mb and block layers
Michael Niedermayer [Wed, 3 Mar 2010 20:36:56 +0000 (20:36 +0000)]
Move all context fields that are not used in the mb and block layers
to the end of the structure.
4 cpu cycles faster in 3k cpu cycles

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

10 years agoFixed DXVA2 H264 hwaccel compilation.
Laurent Aimar [Wed, 3 Mar 2010 19:54:12 +0000 (19:54 +0000)]
Fixed DXVA2 H264 hwaccel compilation.

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

10 years agoremove unused left_border field from context.
Michael Niedermayer [Wed, 3 Mar 2010 19:44:27 +0000 (19:44 +0000)]
remove unused left_border field from context.

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

10 years agocosmetic addition of {}
Michael Niedermayer [Wed, 3 Mar 2010 19:32:50 +0000 (19:32 +0000)]
cosmetic addition of {}

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

10 years agoNote about luma/chroma_weight tables and their datatype.
Michael Niedermayer [Wed, 3 Mar 2010 19:31:58 +0000 (19:31 +0000)]
Note about luma/chroma_weight tables and their datatype.

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

10 years agoFixed overreads in TTA decoder with corrupted bistreams.
Laurent Aimar [Wed, 3 Mar 2010 19:31:46 +0000 (19:31 +0000)]
Fixed overreads in TTA decoder with corrupted bistreams.

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

10 years agoUpdate to work with chunked encoding HTTP streams (as served by FFmpeg since
Ronald S. Bultje [Wed, 3 Mar 2010 18:41:50 +0000 (18:41 +0000)]
Update to work with chunked encoding HTTP streams (as served by FFmpeg since
a few months now). Fixes issue 1738.

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

10 years agoPlug memory leak in NUT muxer and demuxer
Vitor Sessak [Wed, 3 Mar 2010 17:31:24 +0000 (17:31 +0000)]
Plug memory leak in NUT muxer and demuxer

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

10 years agoPlug memory leak in NSV demuxer.
Jai Menon [Wed, 3 Mar 2010 17:26:00 +0000 (17:26 +0000)]
Plug memory leak in NSV demuxer.

Patch by Jai Menon.

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

10 years agoPlug some memory leaks in the VP6 decoder
Vitor Sessak [Wed, 3 Mar 2010 17:24:32 +0000 (17:24 +0000)]
Plug some memory leaks in the VP6 decoder

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

10 years agomove svq3 specific fields to the end of the context
Michael Niedermayer [Wed, 3 Mar 2010 16:47:40 +0000 (16:47 +0000)]
move svq3 specific fields to the end of the context

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

10 years agoCope with rev 22169 change:
Gwenole Beauchesne [Wed, 3 Mar 2010 15:23:22 +0000 (15:23 +0000)]
Cope with rev 22169 change:
Merge weight & offset tables.

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

10 years agoMerge weight & offset tables, 15 cpu cycles faster.
Michael Niedermayer [Wed, 3 Mar 2010 14:41:43 +0000 (14:41 +0000)]
Merge weight & offset tables, 15 cpu cycles faster.

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

10 years agoSimplify implicit_weight table init.
Michael Niedermayer [Wed, 3 Mar 2010 10:57:38 +0000 (10:57 +0000)]
Simplify implicit_weight table init.

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

10 years agoPerform coefficient transformations in Bink Audio DCT decoder (issue1770)
Peter Ross [Wed, 3 Mar 2010 09:51:56 +0000 (09:51 +0000)]
Perform coefficient transformations in Bink Audio DCT decoder (issue1770)

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

10 years agoSupport demuxing of streamed Bink files
Peter Ross [Wed, 3 Mar 2010 09:44:30 +0000 (09:44 +0000)]
Support demuxing of streamed Bink files

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

10 years agouse intended const syntax
Peter Ross [Wed, 3 Mar 2010 09:38:09 +0000 (09:38 +0000)]
use intended const syntax

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

10 years agoAdd _NETBSD_SOURCE definition to fix compilation on NetBSD.
Jorge Acereda [Wed, 3 Mar 2010 09:16:45 +0000 (09:16 +0000)]
Add _NETBSD_SOURCE definition to fix compilation on NetBSD.
NetBSD is unlikely to fix their headers and the FATE box passes it
as -D_NETBSD_SOURCE on the command line anyway. In this case, it's
better to keep the hack well-contained within this file.
Closes issue 886.
patch by Jorge Acereda, jacereda brainstorm es

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

10 years agoAnother 3 useless zeroing instructions.
Michael Niedermayer [Wed, 3 Mar 2010 02:20:48 +0000 (02:20 +0000)]
Another 3 useless zeroing instructions.

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

10 years agoLoad the whole left side of mv&ref only when needed.
Michael Niedermayer [Wed, 3 Mar 2010 01:38:27 +0000 (01:38 +0000)]
Load the whole left side of mv&ref only when needed.
30 cpu cycles faster

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

10 years agoSupport B-frames when decoding MPEG-4 with VDPAU hardware acceleration.
Carl Eugen Hoyos [Wed, 3 Mar 2010 00:09:57 +0000 (00:09 +0000)]
Support B-frames when decoding MPEG-4 with VDPAU hardware acceleration.

Based on a patch by NVIDIA.

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

10 years agoMake seektest messages similar to other tests
Måns Rullgård [Tue, 2 Mar 2010 21:59:27 +0000 (21:59 +0000)]
Make seektest messages similar to other tests

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

10 years agoRun seektest on all generated files
Måns Rullgård [Tue, 2 Mar 2010 21:59:16 +0000 (21:59 +0000)]
Run seektest on all generated files

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

10 years agoPlace regtest-pixfmt output files in separate dir
Måns Rullgård [Tue, 2 Mar 2010 21:59:02 +0000 (21:59 +0000)]
Place regtest-pixfmt output files in separate dir

This test generates many output files, and keeping them separate
is convenient.

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

10 years agoRemove unused argument to test scripts
Måns Rullgård [Tue, 2 Mar 2010 21:42:03 +0000 (21:42 +0000)]
Remove unused argument to test scripts

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

10 years agoPlace regression test output files in subdirs per family
Måns Rullgård [Tue, 2 Mar 2010 21:41:52 +0000 (21:41 +0000)]
Place regression test output files in subdirs per family

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

10 years agoPlug memory leak for truncated files
Vitor Sessak [Tue, 2 Mar 2010 21:32:56 +0000 (21:32 +0000)]
Plug memory leak for truncated files

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

10 years agoPlug some memory leaks for truncated files
Vitor Sessak [Tue, 2 Mar 2010 21:32:29 +0000 (21:32 +0000)]
Plug some memory leaks for truncated files

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

10 years agoRevert "Remove the self reference in the seektest that prevented it from"
Måns Rullgård [Tue, 2 Mar 2010 17:50:24 +0000 (17:50 +0000)]
Revert "Remove the self reference in the seektest that prevented it from"

This reverts r22151.  It prevents the seektest from running at all and
is thus of no use whatsoever.

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

10 years agoRemove the self reference in the seektest that prevented it from
Michael Niedermayer [Tue, 2 Mar 2010 17:29:04 +0000 (17:29 +0000)]
Remove the self reference in the seektest that prevented it from
testing new formats since 2 years namely r11831.
This likely will uncover bugs that gone unnoticed in the last 2 years
due to lack of testing.

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

10 years agoMake sure we dont double test files and sort the list.
Michael Niedermayer [Tue, 2 Mar 2010 17:16:25 +0000 (17:16 +0000)]
Make sure we dont double test files and sort the list.

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

10 years agoPass correct buffer-pointer and buffer-size to hardware accelerated
Carl Eugen Hoyos [Tue, 2 Mar 2010 17:12:41 +0000 (17:12 +0000)]
Pass correct buffer-pointer and buffer-size to hardware accelerated
decoders when decoding packed B-frames.

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

10 years agoCodec copy test.
Michael Niedermayer [Tue, 2 Mar 2010 16:57:20 +0000 (16:57 +0000)]
Codec copy test.

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

10 years agoAdd presets for all of the x264 presets, including fastfirstpass versions.
Lou Logan [Tue, 2 Mar 2010 03:19:12 +0000 (03:19 +0000)]
Add presets for all of the x264 presets, including fastfirstpass versions.
Not 100% accurate, since not all x264 options have ffmpeg equivalents yet.

Patch by Lou Logan.

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

10 years agoMake lsp a separate configurable and select it from codecs needing it
Måns Rullgård [Tue, 2 Mar 2010 03:16:27 +0000 (03:16 +0000)]
Make lsp a separate configurable and select it from codecs needing it

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

10 years agoFix build failure with fast_unaligned and non-gcc-compatible compilers
Måns Rullgård [Tue, 2 Mar 2010 03:16:24 +0000 (03:16 +0000)]
Fix build failure with fast_unaligned and non-gcc-compatible compilers

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

10 years agoFix a bunch of bugs ive introduced recently that broke threaded decoding.
Michael Niedermayer [Tue, 2 Mar 2010 02:24:37 +0000 (02:24 +0000)]
Fix a bunch of bugs ive introduced recently that broke threaded decoding.
might also fix issue1788

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

10 years agoMake ffmpeg print a message and abort if the name of the format
Stefano Sabatini [Tue, 2 Mar 2010 00:01:16 +0000 (00:01 +0000)]
Make ffmpeg print a message and abort if the name of the format
provided with -f was unknown.

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

10 years agoAdd a check for checking if more than one input file is provided to
Stefano Sabatini [Mon, 1 Mar 2010 23:10:27 +0000 (23:10 +0000)]
Add a check for checking if more than one input file is provided to
ffplay, make it complain and abort in that case as just one input file
is currently supported.

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

10 years agoClarify the error message issued by ffprobe in case of more than one
Stefano Sabatini [Mon, 1 Mar 2010 23:02:56 +0000 (23:02 +0000)]
Clarify the error message issued by ffprobe in case of more than one
file provided as input.

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

10 years agoFix spelling in comment
Vitor Sessak [Mon, 1 Mar 2010 20:42:13 +0000 (20:42 +0000)]
Fix spelling in comment

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

10 years agoAdd commented-out unoptimized code to improve readability
Vitor Sessak [Mon, 1 Mar 2010 19:56:51 +0000 (19:56 +0000)]
Add commented-out unoptimized code to improve readability

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

10 years agoRevert r22119 and partially revert 22120.
Vitor Sessak [Mon, 1 Mar 2010 18:16:10 +0000 (18:16 +0000)]
Revert r22119 and partially revert 22120.

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

10 years agoAdd Reinhard and myself as release managers.
Diego Biurrun [Mon, 1 Mar 2010 17:50:34 +0000 (17:50 +0000)]
Add Reinhard and myself as release managers.

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

10 years agoProcess packed bitstream also for VDPAU.
Carl Eugen Hoyos [Mon, 1 Mar 2010 16:52:35 +0000 (16:52 +0000)]
Process packed bitstream also for VDPAU.

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

10 years agoDon't let output pixel format influence input pixel format.
Chris Stones [Mon, 1 Mar 2010 16:47:44 +0000 (16:47 +0000)]
Don't let output pixel format influence input pixel format.

Patch by Chris Stones,  chris D stones A gmail

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

10 years agoFix AMR-NB entry in the supported audio codecs list.
Diego Biurrun [Mon, 1 Mar 2010 14:30:28 +0000 (14:30 +0000)]
Fix AMR-NB entry in the supported audio codecs list.
The decoding and encoding rows were switched around.

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

10 years agonutdec: make chapter start and length uint64_t to prevent overflows.
Anton Khirnov [Mon, 1 Mar 2010 07:26:41 +0000 (07:26 +0000)]
nutdec: make chapter start and length uint64_t to prevent overflows.
Patch by Anton Khirnov wyskas chez gmail punto com

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

10 years agoffmpeg: copy stream metadata.
Anton Khirnov [Mon, 1 Mar 2010 07:22:59 +0000 (07:22 +0000)]
ffmpeg: copy stream metadata.
Patch by Anton Khirnov wyskasgmailcom

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

10 years agorevert r22112 which broke playback of cathedral-beta2-400extra-crop-avc.mp4
Aurelien Jacobs [Mon, 1 Mar 2010 00:22:43 +0000 (00:22 +0000)]
revert r22112 which broke playback of cathedral-beta2-400extra-crop-avc.mp4

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

10 years agoRemove some unneeded fill_rectangle() for 16x16 blocks.
Michael Niedermayer [Sun, 28 Feb 2010 23:54:24 +0000 (23:54 +0000)]
Remove some unneeded fill_rectangle() for 16x16 blocks.

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

10 years agoExplicitly set struct addrinfo to NULL if getaddrinfo failed instead of
Reimar Döffinger [Sun, 28 Feb 2010 22:33:22 +0000 (22:33 +0000)]
Explicitly set struct addrinfo to NULL if getaddrinfo failed instead of
assuming getaddrinfo will have done this.

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

10 years agoMake our getaddrinfo implementation initialize "struct addrinfo" return
Reimar Döffinger [Sun, 28 Feb 2010 22:31:17 +0000 (22:31 +0000)]
Make our getaddrinfo implementation initialize "struct addrinfo" return
value to NULL on errors.

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

10 years agoPlug some memory leaks in NUT muxer and demuxer
Vitor Sessak [Sun, 28 Feb 2010 20:49:21 +0000 (20:49 +0000)]
Plug some memory leaks in NUT muxer and demuxer

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

10 years agoImplement av_tree_destroy_free_elem() to destroy a tree and free all the
Vitor Sessak [Sun, 28 Feb 2010 20:48:42 +0000 (20:48 +0000)]
Implement av_tree_destroy_free_elem() to destroy a tree and free all the
values stored on it.

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

10 years agoMake av_build_filter static (and remove av_): It is not used outside resample2.c.
Carl Eugen Hoyos [Sun, 28 Feb 2010 19:58:26 +0000 (19:58 +0000)]
Make av_build_filter static (and remove av_): It is not used outside resample2.c.

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

10 years agoMake av_get_bit_rate() static and remove av_, the function is only used
Carl Eugen Hoyos [Sun, 28 Feb 2010 19:05:51 +0000 (19:05 +0000)]
Make av_get_bit_rate() static and remove av_, the function is only used
inside libavcodec/utils.c.

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

10 years agoInclude libxvid_internal.h: It contains the prototype for av_tempfile().
Carl Eugen Hoyos [Sun, 28 Feb 2010 19:03:38 +0000 (19:03 +0000)]
Include libxvid_internal.h: It contains the prototype for av_tempfile().

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

10 years agoMake the following functions static (and remove ff_), they are only used
Carl Eugen Hoyos [Sun, 28 Feb 2010 18:57:18 +0000 (18:57 +0000)]
Make the following functions static (and remove ff_), they are only used
inside libxvidff.c:
ff_xvid_encode_init(), ff_xvid_encode_frame(), ff_xvid_encode_close()

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

10 years agoMake function get_channel_name() static: It is only used in audioconvert.c.
Carl Eugen Hoyos [Sun, 28 Feb 2010 18:50:56 +0000 (18:50 +0000)]
Make function get_channel_name() static: It is only used in audioconvert.c.

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

10 years agoPrint chapter info in dump_format().
Anton Khirnov [Sun, 28 Feb 2010 18:37:09 +0000 (18:37 +0000)]
Print chapter info in dump_format().

Patch by Anton Khirnov, wyskas gmail

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

10 years agoProcess picture aspect ratio changes in H.264.
Janusz Krzysztofik [Sun, 28 Feb 2010 18:33:33 +0000 (18:33 +0000)]
Process picture aspect ratio changes in H.264.
This fixes playback of such streams with ffplay (but does not affect
current ffmpeg).

Patch by Janusz Krzysztofik, jkrzyszt A tis D icnet D pl

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

10 years agoMany mp3s seem to contain padding after id3 tags that is not considered in the
Michael Niedermayer [Sun, 28 Feb 2010 16:40:17 +0000 (16:40 +0000)]
Many mp3s seem to contain padding after id3 tags that is not considered in the
tag size. Skip this to make the format probing quicker.

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

10 years agoFree packets read in seek_test.
Reimar Döffinger [Sun, 28 Feb 2010 11:18:04 +0000 (11:18 +0000)]
Free packets read in seek_test.

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