ffmpeg.git
8 years agoMake ff_dprintf_link() print meaningful information for audio links.
Stefano Sabatini [Sat, 15 Jan 2011 19:58:29 +0000 (19:58 +0000)]
Make ff_dprintf_link() print meaningful information for audio links.

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

8 years agoRemove evil timers that snuck their way into r26375.
Jason Garrett-Glaser [Sat, 15 Jan 2011 18:14:36 +0000 (18:14 +0000)]
Remove evil timers that snuck their way into r26375.

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

8 years agoFix r26375 on non-x86.
Jason Garrett-Glaser [Sat, 15 Jan 2011 18:13:40 +0000 (18:13 +0000)]
Fix r26375 on non-x86.

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

8 years agoH.264: Partially inline CABAC residual decoding
Jason Garrett-Glaser [Sat, 15 Jan 2011 17:52:48 +0000 (17:52 +0000)]
H.264: Partially inline CABAC residual decoding
Improves CABAC performance about ~1.2%.

Trick originates from x264 and has also been used in ffvp8.  It's useful because
coded block flags are usually zero, so it helps to have the early termination
inlined into the main function.

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

8 years agoRename AVFilterBufferRefAudioProps.samples_nb to nb_samples.
Stefano Sabatini [Sat, 15 Jan 2011 17:31:34 +0000 (17:31 +0000)]
Rename AVFilterBufferRefAudioProps.samples_nb to nb_samples.

More consistent with the rest of FFmpeg and sounds more natural to
English speaking people.

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

8 years agoMake avfilter_unref_buffer() accept a NULL parameter.
Stefano Sabatini [Sat, 15 Jan 2011 17:21:15 +0000 (17:21 +0000)]
Make avfilter_unref_buffer() accept a NULL parameter.

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

8 years agoReindent after the last commit.
Stefano Sabatini [Sat, 15 Jan 2011 17:21:12 +0000 (17:21 +0000)]
Reindent after the last commit.

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

8 years agoIn ffplay, do not open display if -nodisp is set.
Stefano Sabatini [Sat, 15 Jan 2011 17:21:09 +0000 (17:21 +0000)]
In ffplay, do not open display if -nodisp is set.

Fixes issue 1017.

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

8 years agoParse fact chunks from wav files to find duration.
Michael Niedermayer [Sat, 15 Jan 2011 17:13:32 +0000 (17:13 +0000)]
Parse fact chunks from wav files to find duration.

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

8 years agoFactor tag reading code out of wav read_header()
Michael Niedermayer [Sat, 15 Jan 2011 17:13:30 +0000 (17:13 +0000)]
Factor tag reading code out of wav read_header()

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

8 years agoSecond hunk from secrity fix from google.
Frank Barchard [Sat, 15 Jan 2011 17:10:49 +0000 (17:10 +0000)]
Second hunk from secrity fix from google.
The hunk is not fully understood but it just makes a check tighter so its
safer for us to apply until it is fully understood.

Might fix issue 2550 (and Chrome issue 68115 and unknown CERT issues).
Our bugtracker issue though should stay open until this has been fully
investiagted

Patch by Frank Barchard, fbarchard at google

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

8 years agodo not read over the end of the packet
Sascha Sommer [Sat, 15 Jan 2011 16:39:52 +0000 (16:39 +0000)]
do not read over the end of the packet
fixes issue 2543

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

8 years agoSet duration for wav files from sample size and data size or the wf64 sample value.
Michael Niedermayer [Sat, 15 Jan 2011 16:26:42 +0000 (16:26 +0000)]
Set duration for wav files from sample size and data size or the wf64 sample value.
This should improve duration accuracy slightly and avoids a warning about its
inaccuracy when accurate values are available. Idea by Frank Barchard

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

8 years agoCheck rangebits to avoid a possible crash.
Frank Barchard [Sat, 15 Jan 2011 16:19:06 +0000 (16:19 +0000)]
Check rangebits to avoid a possible crash.
Fixes issue 2548 (and Chrome issue 68115 and unknown CERT issues).

Patch by Frank Barchard, fbarchard at google

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

8 years agoChange some band size calculations in Bink decoder to use width in blocks
Kostya Shishkov [Sat, 15 Jan 2011 13:29:14 +0000 (13:29 +0000)]
Change some band size calculations in Bink decoder to use width in blocks
instead of real width, this fixes decoding of some Bink files with odd width.

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

8 years agoLagarith: fix decoding of one-coloured frames by reading the per-plane
Reimar Döffinger [Sat, 15 Jan 2011 12:44:48 +0000 (12:44 +0000)]
Lagarith: fix decoding of one-coloured frames by reading the per-plane
color value instead of always taking 0 (resulting in green frames).
Fixes issue issue2531.

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

8 years agoAdd docs and Changelog entry for the -copytb option added in r26340.
Stefano Sabatini [Sat, 15 Jan 2011 11:13:07 +0000 (11:13 +0000)]
Add docs and Changelog entry for the -copytb option added in r26340.

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

8 years agoAdd APIchanges entry for the av_metadata_copy() addition.
Stefano Sabatini [Sat, 15 Jan 2011 11:13:04 +0000 (11:13 +0000)]
Add APIchanges entry for the av_metadata_copy() addition.

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

8 years agoCheck symbol validity to avoid a crash, fixes issue 2523.
Daniel Kang [Sat, 15 Jan 2011 10:18:38 +0000 (10:18 +0000)]
Check symbol validity to avoid a crash, fixes issue 2523.

Patch by Daniel Kang, daniel.d.kang at gmail

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

8 years agocosmetics: spacing, line wrap, and remove unneeded braces
Justin Ruggles [Sat, 15 Jan 2011 01:59:31 +0000 (01:59 +0000)]
cosmetics: spacing, line wrap, and remove unneeded braces

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

8 years agoProcess all EXP_REUSE blocks at once in exponent_min().
Justin Ruggles [Sat, 15 Jan 2011 01:59:21 +0000 (01:59 +0000)]
Process all EXP_REUSE blocks at once in exponent_min().
43% faster in function encode_exponents().

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

8 years agoTake advantage of per-channel exponent and exponent strategy layout to
Justin Ruggles [Sat, 15 Jan 2011 01:59:15 +0000 (01:59 +0000)]
Take advantage of per-channel exponent and exponent strategy layout to
simplify and speed up encode_exponents().
8% faster in function.

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

8 years agoSimplify compute_exp_strategy() by passing a pointer to all exponents and
Justin Ruggles [Sat, 15 Jan 2011 01:59:10 +0000 (01:59 +0000)]
Simplify compute_exp_strategy() by passing a pointer to all exponents and
exponent strategies for a single channel to compute_exp_strategy_ch().
This allows for removal of the temporary pointer arrays.

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

8 years agoUse a local variable in the inner loop of group_exponents() to simplify the
Justin Ruggles [Sat, 15 Jan 2011 01:59:04 +0000 (01:59 +0000)]
Use a local variable in the inner loop of group_exponents() to simplify the
code.

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

8 years agocosmetics: remove unneeded braces
Justin Ruggles [Sat, 15 Jan 2011 01:58:59 +0000 (01:58 +0000)]
cosmetics: remove unneeded braces

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

8 years agocosmetics: rename block_num to blk for variable name consistency
Justin Ruggles [Sat, 15 Jan 2011 01:58:55 +0000 (01:58 +0000)]
cosmetics: rename block_num to blk for variable name consistency

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

8 years agoMove exp_strategy from AC3Block to AC3EncodeContext in order to arrange by
Justin Ruggles [Sat, 15 Jan 2011 01:58:50 +0000 (01:58 +0000)]
Move exp_strategy from AC3Block to AC3EncodeContext in order to arrange by
channel first, then by block.

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

8 years agoRearrange exponent buffer to group all blocks for a single channel together.
Justin Ruggles [Sat, 15 Jan 2011 01:58:45 +0000 (01:58 +0000)]
Rearrange exponent buffer to group all blocks for a single channel together.
This will allow for faster and simpler processing of all blocks at once.

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

8 years agoCosmetics: fix weird indent.
Stefano Sabatini [Sat, 15 Jan 2011 01:28:00 +0000 (01:28 +0000)]
Cosmetics: fix weird indent.

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

8 years agoH.264/SVQ3: make chroma DC work the same way as luma DC
Jason Garrett-Glaser [Sat, 15 Jan 2011 01:10:46 +0000 (01:10 +0000)]
H.264/SVQ3: make chroma DC work the same way as luma DC
No speed improvement, but necessary for some future stuff.
Also opens up the possibility of asm chroma dc idct/dequant.

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

8 years agoPort SVQ3 to use the new mb_luma_dc method of storing luma DC coefficients.
Jason Garrett-Glaser [Sat, 15 Jan 2011 00:41:18 +0000 (00:41 +0000)]
Port SVQ3 to use the new mb_luma_dc method of storing luma DC coefficients.
Doesn't help speed as there isn't an asm implementation yet, but consistency
is a good thing.

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

8 years agoIn yadif filter, default to top field first if interlacing is unknown
Baptiste Coudurier [Sat, 15 Jan 2011 00:32:36 +0000 (00:32 +0000)]
In yadif filter, default to top field first if interlacing is unknown

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

8 years agoalso support decoding of AVPackets with multiple wma packets
Sascha Sommer [Fri, 14 Jan 2011 23:58:55 +0000 (23:58 +0000)]
also support decoding of AVPackets with multiple wma packets
fixes issue 2539

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

8 years agoH.264: Remove useless arg to chroma_dc_dequant_idct_c
Jason Garrett-Glaser [Fri, 14 Jan 2011 23:46:55 +0000 (23:46 +0000)]
H.264: Remove useless arg to chroma_dc_dequant_idct_c

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

8 years agoFix ff_pw_3 alignment.
Ronald S. Bultje [Fri, 14 Jan 2011 23:26:34 +0000 (23:26 +0000)]
Fix ff_pw_3 alignment.

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

8 years agoIn mxf muxer, check the return value of gmtime, fix #2494
Baptiste Coudurier [Fri, 14 Jan 2011 22:36:23 +0000 (22:36 +0000)]
In mxf muxer, check the return value of gmtime, fix #2494

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

8 years agoUpdate smc fate ref due to r26310
Baptiste Coudurier [Fri, 14 Jan 2011 22:32:26 +0000 (22:32 +0000)]
Update smc fate ref due to r26310

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

8 years agoFix SVQ3
Jason Garrett-Glaser [Fri, 14 Jan 2011 22:23:42 +0000 (22:23 +0000)]
Fix SVQ3
Regression in r26336-7.

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

8 years agoNew "copytb" ffmpeg cli option to copy input stream time base when stream copying.
Baptiste Coudurier [Fri, 14 Jan 2011 22:01:49 +0000 (22:01 +0000)]
New "copytb" ffmpeg cli option to copy input stream time base when stream copying.
This should avoid non monotone timestamps for video streams with vfr.

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

8 years agoRemove outdated comment in h264dsp.h
Jason Garrett-Glaser [Fri, 14 Jan 2011 21:48:33 +0000 (21:48 +0000)]
Remove outdated comment in h264dsp.h
Since we no longer have non-transposed scantables, the problem it warns about
no longer exists.

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

8 years agoReindent after r26337.
Jason Garrett-Glaser [Fri, 14 Jan 2011 21:36:45 +0000 (21:36 +0000)]
Reindent after r26337.

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

8 years agoH.264: switch to x264-style tracking of luma/chroma DC NNZ
Jason Garrett-Glaser [Fri, 14 Jan 2011 21:36:16 +0000 (21:36 +0000)]
H.264: switch to x264-style tracking of luma/chroma DC NNZ
Useful so that we don't have to run the hierarchical DC iDCT if there aren't
any coefficients.  Opens up some future opportunities for optimization as well.

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

8 years agoH.264: split luma dc idct out and implement MMX/SSE2 versions
Jason Garrett-Glaser [Fri, 14 Jan 2011 21:34:25 +0000 (21:34 +0000)]
H.264: split luma dc idct out and implement MMX/SSE2 versions
About 2.5x the speed.

NOTE: the way that the asm code handles large qmuls is a bit suboptimal.
If x264-style dequant was used (separate shift and qmul values), it might
be possible to get some extra speed.

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

8 years agoMake opt_audio_sample_fmt() abort in case of invalid sample format
Stefano Sabatini [Fri, 14 Jan 2011 20:58:51 +0000 (20:58 +0000)]
Make opt_audio_sample_fmt() abort in case of invalid sample format
name.

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

8 years agoAdd the word "Parsed" in the parsed filter names.
Stefano Sabatini [Fri, 14 Jan 2011 20:58:47 +0000 (20:58 +0000)]
Add the word "Parsed" in the parsed filter names.

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

8 years agoAdd avcore.h header in samplefmt.h.
Stefano Sabatini [Fri, 14 Jan 2011 20:58:43 +0000 (20:58 +0000)]
Add avcore.h header in samplefmt.h.

Avoid the need to manually include the avcore.h header, less
error-prone.

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

8 years agoCopy metadata from ASF files contained in RTSP streams from ASF to RTSP layer,
Ronald S. Bultje [Fri, 14 Jan 2011 19:44:44 +0000 (19:44 +0000)]
Copy metadata from ASF files contained in RTSP streams from ASF to RTSP layer,
so that applications can read it also.

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

8 years agoReindent after 26330.
Ronald S. Bultje [Fri, 14 Jan 2011 19:31:20 +0000 (19:31 +0000)]
Reindent after 26330.

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

8 years agoIntroduce av_metadata_copy() to copy metadata from one struct to another.
Ronald S. Bultje [Fri, 14 Jan 2011 19:30:55 +0000 (19:30 +0000)]
Introduce av_metadata_copy() to copy metadata from one struct to another.

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

8 years agoH.264: eliminate non-transposed scantable support.
Jason Garrett-Glaser [Fri, 14 Jan 2011 19:04:59 +0000 (19:04 +0000)]
H.264: eliminate non-transposed scantable support.
It was an ugly hack to begin with and didn't give any performance.

NOTE: this patch opens up some future simplifications to be made (such as
removing some of the scantables from H264Context) but doesn't take advantage
of them yet.

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

8 years agoadd support for blocksize 64
Sascha Sommer [Fri, 14 Jan 2011 16:36:57 +0000 (16:36 +0000)]
add support for blocksize 64
fixes issue 2537 and 2538

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

8 years agowtv: ignore VIDEOINFOHEADER2 picture aspect ratio information, as it is unreliable
Peter Ross [Fri, 14 Jan 2011 08:28:27 +0000 (08:28 +0000)]
wtv: ignore VIDEOINFOHEADER2 picture aspect ratio information, as it is unreliable

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

8 years agoRevert aviobuf: Retry if the read/write function returns AVERROR(EAGAIN)
Martin Storsjö [Thu, 13 Jan 2011 06:22:43 +0000 (06:22 +0000)]
Revert aviobuf: Retry if the read/write function returns AVERROR(EAGAIN)

This reverts SVN commit 26318, which broke MS-RTSP playback.

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

8 years agoCheck linked pads media type mismatch in avfilter_link().
Stefano Sabatini [Thu, 13 Jan 2011 01:00:36 +0000 (01:00 +0000)]
Check linked pads media type mismatch in avfilter_link().

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

8 years agoMake av_get_channel_layout_string() guess the number of channels if it
Stefano Sabatini [Thu, 13 Jan 2011 01:00:31 +0000 (01:00 +0000)]
Make av_get_channel_layout_string() guess the number of channels if it
was not provided.

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

8 years agoMake avfilter_graph_free() do nothing if graph is NULL.
Stefano Sabatini [Wed, 12 Jan 2011 21:23:16 +0000 (21:23 +0000)]
Make avfilter_graph_free() do nothing if graph is NULL.

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

8 years agoPrint link audio format name in tools/graph2dot.
Stefano Sabatini [Wed, 12 Jan 2011 18:25:03 +0000 (18:25 +0000)]
Print link audio format name in tools/graph2dot.

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

8 years agoUse AVERROR_INVALIDDATA rather than -1 for nutdec error codes.
Stefano Sabatini [Wed, 12 Jan 2011 16:40:28 +0000 (16:40 +0000)]
Use AVERROR_INVALIDDATA rather than -1 for nutdec error codes.

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

8 years agoIn the pad filter, log information about the input size.
Stefano Sabatini [Wed, 12 Jan 2011 16:40:23 +0000 (16:40 +0000)]
In the pad filter, log information about the input size.

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

8 years agoRemove myself as AAC maintainer. I just don't have it in me anymore.
Alex Converse [Wed, 12 Jan 2011 07:22:12 +0000 (07:22 +0000)]
Remove myself as AAC maintainer. I just don't have it in me anymore.

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

8 years agoaviobuf: Retry if the read/write function returns AVERROR(EAGAIN)
Martin Storsjö [Wed, 12 Jan 2011 07:06:27 +0000 (07:06 +0000)]
aviobuf: Retry if the read/write function returns AVERROR(EAGAIN)

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

8 years agoDo not allocate unused swscale context when libavfilter is compiled in
Baptiste Coudurier [Wed, 12 Jan 2011 00:52:47 +0000 (00:52 +0000)]
Do not allocate unused swscale context when libavfilter is compiled in

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

8 years agodon't complain about codec type/id mismatche for attachment streams
Aurelien Jacobs [Wed, 12 Jan 2011 00:33:22 +0000 (00:33 +0000)]
don't complain about codec type/id mismatche for attachment streams

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

8 years agoFix design of the pad filter.
Michael Niedermayer [Tue, 11 Jan 2011 23:53:24 +0000 (23:53 +0000)]
Fix design of the pad filter.
Previously the pad filter just drawed borders in the surrounding of the input
without checking if this area was allocated or writeable. Now we check and
allocate a new buffer if the input is unsuitable.

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

8 years agoAdd w,h,format back into AVFilterBuffer, these are required for direct rendering.
Michael Niedermayer [Tue, 11 Jan 2011 23:53:17 +0000 (23:53 +0000)]
Add w,h,format back into AVFilterBuffer, these are required for direct rendering.
These fields are needed to be able to know which area of memory is allocated and
which is off limits.
This reverts 24291 and parts of r24424.

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

8 years agoFix warnings:
Baptiste Coudurier [Tue, 11 Jan 2011 21:16:00 +0000 (21:16 +0000)]
Fix warnings:
ffmpeg.c: In function ‘new_video_stream’:
ffmpeg.c:3701:18: warning: ‘codec_id’ may be used uninitialized in this function
ffmpeg.c: In function ‘new_audio_stream’:
ffmpeg.c:3848:18: warning: ‘codec_id’ may be used uninitialized in this function
ffmpeg.c: In function ‘new_subtitle_stream’:
ffmpeg.c:3926:18: warning: ‘codec_id’ may be used uninitialized in this function

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

8 years agoChange 'arg' type in parse_meta_type, fix warning:
Baptiste Coudurier [Tue, 11 Jan 2011 21:14:11 +0000 (21:14 +0000)]
Change 'arg' type in parse_meta_type, fix warning:
ffmpeg.c: In function ‘parse_meta_type’:
ffmpeg.c:3323:13: warning: assignment discards qualifiers from pointer target type

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

8 years agoIn mov demuxer, handle better wrong time scale, fix issue #2528
Baptiste Coudurier [Tue, 11 Jan 2011 21:06:37 +0000 (21:06 +0000)]
In mov demuxer, handle better wrong time scale, fix issue #2528

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

8 years agoIn mov demuxer, set r_frame_rate for cfr files
Baptiste Coudurier [Tue, 11 Jan 2011 19:58:00 +0000 (19:58 +0000)]
In mov demuxer, set r_frame_rate for cfr files

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

8 years agoDo not crash for illegal sample size, fixes issue 2502.
Daniel Kang [Tue, 11 Jan 2011 14:08:45 +0000 (14:08 +0000)]
Do not crash for illegal sample size, fixes issue 2502.

Patch by Daniel Kang, daniel.d.kang at gmail

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

8 years agoClarify timestamps related error messages in compute_pkt_fields2().
Stefano Sabatini [Tue, 11 Jan 2011 12:17:27 +0000 (12:17 +0000)]
Clarify timestamps related error messages in compute_pkt_fields2().

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

8 years agoelectronicarts: prevent endless loop opportunity in process_audio_header_elements()
Peter Ross [Tue, 11 Jan 2011 02:25:12 +0000 (02:25 +0000)]
electronicarts: prevent endless loop opportunity in process_audio_header_elements()
Fixes issue2529.

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

8 years agoH.264: fix grayscale decoding with explicit wpred
Jason Garrett-Glaser [Mon, 10 Jan 2011 23:42:45 +0000 (23:42 +0000)]
H.264: fix grayscale decoding with explicit wpred

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

8 years agorevert r26302
Peter Ross [Mon, 10 Jan 2011 22:25:45 +0000 (22:25 +0000)]
revert r26302

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

8 years agoDo not stop decoding on pnm files with negative maxval.
Carl Eugen Hoyos [Mon, 10 Jan 2011 22:09:52 +0000 (22:09 +0000)]
Do not stop decoding on pnm files with negative maxval.

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

8 years agoIn gif encoder, fix uninitialized value, patch by Clément Bœsch, ubitux at gmail...
Clément Bœsch [Mon, 10 Jan 2011 21:14:54 +0000 (21:14 +0000)]
In gif encoder, fix uninitialized value, patch by Clément Bœsch, ubitux at gmail dot com

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

8 years agoelectronicarts: prevent endless loop opportunity in process_audio_header_elements()
Peter Ross [Mon, 10 Jan 2011 12:56:50 +0000 (12:56 +0000)]
electronicarts: prevent endless loop opportunity in process_audio_header_elements()
Fixes issue2529.

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

8 years agoelectronicarts: only apply audio sanity checks when audio stream is present
Peter Ross [Mon, 10 Jan 2011 12:51:45 +0000 (12:51 +0000)]
electronicarts: only apply audio sanity checks when audio stream is present

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

8 years agoperform height sanity check in mmvideo decoder
Daniel Kang [Mon, 10 Jan 2011 12:23:03 +0000 (12:23 +0000)]
perform height sanity check in mmvideo decoder
Fixes issue2495
Original patch by Daniel Kang, daniel.d.kang at gmail

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

8 years agommvideo: remove some conditional statements by limiting range of half_horiz and half_...
Peter Ross [Mon, 10 Jan 2011 12:16:33 +0000 (12:16 +0000)]
mmvideo: remove some conditional statements by limiting range of half_horiz and half_vert parameters to [0,1]

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

8 years agoperform sanity check on sample rate in electronicarts demuxer
Daniel Kang [Mon, 10 Jan 2011 11:38:38 +0000 (11:38 +0000)]
perform sanity check on sample rate in electronicarts demuxer
Fixes issue2525
Original patch by Daniel Kang, daniel.d.kang at gmail

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

8 years agoHandle ID3v1 tag while decoding mp[123] frames
Clément Bœsch [Mon, 10 Jan 2011 11:36:11 +0000 (11:36 +0000)]
Handle ID3v1 tag while decoding mp[123] frames

patch by Clément Bœsch (ubitux at gmail)

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

8 years agoperform sanity check on number of channels in electronicarts demuxer
Daniel Kang [Mon, 10 Jan 2011 11:02:07 +0000 (11:02 +0000)]
perform sanity check on number of channels in electronicarts demuxer
Fixes issue2514
Original patch by Daniel Kang, daniel.d.kang at gmail

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

8 years agoCheck for invalid decode op-codes, fixes issue 2522.
Daniel Kang [Mon, 10 Jan 2011 10:47:10 +0000 (10:47 +0000)]
Check for invalid decode op-codes, fixes issue 2522.

Patch by Daniel Kang, daniel.d.kang at gmail

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

8 years agoCheck for vectable ID > 0, fixes issue 2508.
Daniel Kang [Mon, 10 Jan 2011 10:36:14 +0000 (10:36 +0000)]
Check for vectable ID > 0, fixes issue 2508.

Patch by Daniel Kang, daniel.d.kang at gmail

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

8 years agoCheck for invalid motion vector, fixes issue 2521.
Daniel Kang [Mon, 10 Jan 2011 10:28:06 +0000 (10:28 +0000)]
Check for invalid motion vector, fixes issue 2521.

Patch by Daniel Kang, daniel.d.kang at gmail

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

8 years agoCheck for invalid maxval in pgm decoder, fixes issue 2518.
Daniel Kang [Mon, 10 Jan 2011 00:42:57 +0000 (00:42 +0000)]
Check for invalid maxval in pgm decoder, fixes issue 2518.

Patch by Daniel Kang, daniel.d.kang at gmail

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

8 years agoFix reading over the end of the allocated buffer.
Anssi Hannula [Sun, 9 Jan 2011 23:01:01 +0000 (23:01 +0000)]
Fix reading over the end of the allocated buffer.

Patch by Anssi Hannula, anssi d hannula a iki d fi

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

8 years agoMatch the documentation of -ar with the actual behaviour.
Carl Eugen Hoyos [Sun, 9 Jan 2011 19:57:11 +0000 (19:57 +0000)]
Match the documentation of -ar with the actual behaviour.

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

8 years agoCheck for several overreads, fixes issue 2512.
Daniel Kang [Sun, 9 Jan 2011 19:38:32 +0000 (19:38 +0000)]
Check for several overreads, fixes issue 2512.

Patch by Daniel Kang, daniel.d.kang at gmail

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

8 years agoReturn on negative soff sizes, fixes issue 2515.
Daniel Kang [Sun, 9 Jan 2011 19:29:39 +0000 (19:29 +0000)]
Return on negative soff sizes, fixes issue 2515.

Patch by Daniel Kang, daniel.d.kang at gmail

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

8 years agoFix arm asm offsets for arm/mach-o
Martin Storsjö [Sun, 9 Jan 2011 15:23:00 +0000 (15:23 +0000)]
Fix arm asm offsets for arm/mach-o

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

8 years agoUpdate asm offsets for arm
Luca Barbato [Sun, 9 Jan 2011 14:21:35 +0000 (14:21 +0000)]
Update asm offsets for arm

This unbreak ffmpeg build on arm/elf, arm/mach-o still need an update

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

8 years agortsp: Properly fail if unable to open an input RTP port
Martin Storsjö [Sun, 9 Jan 2011 10:47:53 +0000 (10:47 +0000)]
rtsp: Properly fail if unable to open an input RTP port

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

8 years agoFix typos in the crop filter documentation.
Stefano Sabatini [Sun, 9 Jan 2011 10:28:41 +0000 (10:28 +0000)]
Fix typos in the crop filter documentation.

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

8 years agoAdd documentation for the image2 demuxer.
Stefano Sabatini [Sun, 9 Jan 2011 10:22:23 +0000 (10:22 +0000)]
Add documentation for the image2 demuxer.

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

8 years agoAdd demuxers.texi file.
Stefano Sabatini [Sun, 9 Jan 2011 10:22:21 +0000 (10:22 +0000)]
Add demuxers.texi file.

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

8 years agoadd myself as the WTV maintainer
Peter Ross [Sun, 9 Jan 2011 08:43:44 +0000 (08:43 +0000)]
add myself as the WTV maintainer

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

8 years agofix indentation
Peter Ross [Sun, 9 Jan 2011 08:30:23 +0000 (08:30 +0000)]
fix indentation

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

8 years agoeacmv: ensure second-last frame is allocated before referencing it
Daniel Kang [Sun, 9 Jan 2011 08:28:40 +0000 (08:28 +0000)]
eacmv: ensure second-last frame is allocated before referencing it
Fixes issue2513
Original patch by Daniel Kang, daniel.d.kang at gmail

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