ffmpeg:ffmpeg-mt.git
7 years agoAdd APIchanges entry for the av_metadata_copy() addition.
stefano [Sat, 15 Jan 2011 11:13:04 +0000 (11:13 +0000)]
Add APIchanges entry for the av_metadata_copy() addition.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@26361 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

7 years agoCheck symbol validity to avoid a crash, fixes issue 2523.
cehoyos [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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@26360 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@26359 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

7 years agoProcess all EXP_REUSE blocks at once in exponent_min().
jbr [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().

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@26358 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

7 years agoTake advantage of per-channel exponent and exponent strategy layout to
jbr [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@26357 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

7 years agoSimplify compute_exp_strategy() by passing a pointer to all exponents and
jbr [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@26356 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

7 years agoUse a local variable in the inner loop of group_exponents() to simplify the
jbr [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@26355 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@26354 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@26353 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

7 years agoMove exp_strategy from AC3Block to AC3EncodeContext in order to arrange by
jbr [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@26352 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

7 years agoRearrange exponent buffer to group all blocks for a single channel together.
jbr [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@26351 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@26350 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

7 years agoH.264/SVQ3: make chroma DC work the same way as luma DC
darkshikari [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@26349 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

7 years agoM libavcodec/svq3.c
darkshikari [Sat, 15 Jan 2011 00:41:18 +0000 (00:41 +0000)]
M    libavcodec/svq3.c
M    libavcodec/h264.c
M    libavcodec/dsputil.h

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@26348 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@26347 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@26346 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

7 years agoH.264: Remove useless arg to chroma_dc_dequant_idct_c
darkshikari [Fri, 14 Jan 2011 23:46:55 +0000 (23:46 +0000)]
H.264: Remove useless arg to chroma_dc_dequant_idct_c

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@26345 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

7 years agoFix ff_pw_3 alignment.
rbultje [Fri, 14 Jan 2011 23:26:34 +0000 (23:26 +0000)]
Fix ff_pw_3 alignment.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@26344 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@26343 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@26342 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@26341 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

7 years agoNew "copytb" ffmpeg cli option to copy input stream time base when stream copying.
bcoudurier [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@26340 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

7 years agoRemove outdated comment in h264dsp.h
darkshikari [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@26339 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

7 years agoReindent after r26337.
darkshikari [Fri, 14 Jan 2011 21:36:45 +0000 (21:36 +0000)]
Reindent after r26337.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@26338 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

7 years agoH.264: switch to x264-style tracking of luma/chroma DC NNZ
darkshikari [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@26337 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

7 years agoH.264: split luma dc idct out and implement MMX/SSE2 versions
darkshikari [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@26336 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@26335 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@26334 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

7 years agoAdd avcore.h header in samplefmt.h.
stefano [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@26333 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

7 years agoCopy metadata from ASF files contained in RTSP streams from ASF to RTSP layer,
rbultje [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@26332 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

7 years agoReindent after 26330.
rbultje [Fri, 14 Jan 2011 19:31:20 +0000 (19:31 +0000)]
Reindent after 26330.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@26331 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@26330 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

7 years agoH.264: eliminate non-transposed scantable support.
darkshikari [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@26329 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@26328 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@26327 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

7 years agoRevert aviobuf: Retry if the read/write function returns AVERROR(EAGAIN)
mstorsjo [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@26326 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@26325 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

7 years agoMake av_get_channel_layout_string() guess the number of channels if it
stefano [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@26324 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@26323 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@26322 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@26321 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@26320 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

7 years agoRemove myself as AAC maintainer. I just don't have it in me anymore.
alexc [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@26319 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@26318 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@26317 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@26316 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

7 years agoFix design of the pad filter.
michael [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@26315 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

7 years agoAdd w,h,format back into AVFilterBuffer, these are required for direct rendering.
michael [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@26314 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

7 years agoFix warnings:
bcoudurier [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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@26313 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

7 years agoChange 'arg' type in parse_meta_type, fix warning:
bcoudurier [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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@26312 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@26311 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@26310 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

7 years agoDo not crash for illegal sample size, fixes issue 2502.
cehoyos [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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@26309 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@26308 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@26307 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

7 years agoH.264: fix grayscale decoding with explicit wpred
darkshikari [Mon, 10 Jan 2011 23:42:45 +0000 (23:42 +0000)]
H.264: fix grayscale decoding with explicit wpred

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@26306 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

7 years agorevert r26302
pross [Mon, 10 Jan 2011 22:25:45 +0000 (22:25 +0000)]
revert r26302

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@26305 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@26304 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

7 years agoIn gif encoder, fix uninitialized value, patch by Clément Bœsch, ubitux at gmail...
bcoudurier [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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@26303 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@26302 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@26301 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

7 years agoperform height sanity check in mmvideo decoder
pross [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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@26300 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

7 years agommvideo: remove some conditional statements by limiting range of half_horiz and half_...
pross [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]

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@26299 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

7 years agoperform sanity check on sample rate in electronicarts demuxer
pross [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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@26298 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

7 years agoHandle ID3v1 tag while decoding mp[123] frames
elenril [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)

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@26297 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

7 years agoperform sanity check on number of channels in electronicarts demuxer
pross [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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@26296 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

7 years agoCheck for invalid decode op-codes, fixes issue 2522.
cehoyos [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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@26295 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

7 years agoCheck for vectable ID > 0, fixes issue 2508.
cehoyos [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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@26294 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

7 years agoCheck for invalid motion vector, fixes issue 2521.
cehoyos [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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@26293 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

7 years agoCheck for invalid maxval in pgm decoder, fixes issue 2518.
cehoyos [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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@26292 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

7 years agoFix reading over the end of the allocated buffer.
cehoyos [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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@26291 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@26290 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

7 years agoCheck for several overreads, fixes issue 2512.
cehoyos [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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@26289 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

7 years agoReturn on negative soff sizes, fixes issue 2515.
cehoyos [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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@26288 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@26287 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

7 years agoUpdate asm offsets for arm
lu_zero [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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@26286 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@26285 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@26284 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@26283 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@26282 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@26281 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

7 years agofix indentation
pross [Sun, 9 Jan 2011 08:30:23 +0000 (08:30 +0000)]
fix indentation

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@26280 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

7 years agoeacmv: ensure second-last frame is allocated before referencing it
pross [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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@26279 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

7 years agofix indentation
pross [Sun, 9 Jan 2011 02:44:54 +0000 (02:44 +0000)]
fix indentation

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@26278 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

7 years agowtv: only process timestamp_guid chunks for streams that we know about
pross [Sun, 9 Jan 2011 02:42:16 +0000 (02:42 +0000)]
wtv: only process timestamp_guid chunks for streams that we know about

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@26277 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

7 years agowtv: do not repopulate codec information after we have seen data chunks
pross [Sun, 9 Jan 2011 02:35:06 +0000 (02:35 +0000)]
wtv: do not repopulate codec information after we have seen data chunks

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@26276 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

7 years agowtv: stop processing chunks if length is smaller than chunk header
pross [Sun, 9 Jan 2011 02:21:30 +0000 (02:21 +0000)]
wtv: stop processing chunks if length is smaller than chunk header

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@26275 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

7 years agowtv: fix typo
pross [Sun, 9 Jan 2011 02:13:58 +0000 (02:13 +0000)]
wtv: fix typo

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@26274 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

7 years agoAdd audio codec 0x1602 (AAC LATM)
pross [Sun, 9 Jan 2011 02:11:41 +0000 (02:11 +0000)]
Add audio codec 0x1602 (AAC LATM)

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@26273 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

7 years agoRemove unneeded #include
jbr [Sun, 9 Jan 2011 02:04:30 +0000 (02:04 +0000)]
Remove unneeded #include

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@26272 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

7 years agoAdd stereo rematrixing support to the AC-3 encoders.
jbr [Sat, 8 Jan 2011 23:21:17 +0000 (23:21 +0000)]
Add stereo rematrixing support to the AC-3 encoders.
This improves the audio quality significantly for stereo source with both the
fixed-point and floating-point AC-3 encoders.
Update acodec-ac3_fixed and seek-ac3_rm test references.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@26271 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

7 years agoLagarith decoder by Nathan Caldwell, saintdev at gmail
cehoyos [Sat, 8 Jan 2011 21:22:15 +0000 (21:22 +0000)]
Lagarith decoder by Nathan Caldwell, saintdev at gmail

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@26270 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

7 years agoLimit number of samples decoded for WavPack mono mode, so decoded samples will
kostya [Sat, 8 Jan 2011 19:23:24 +0000 (19:23 +0000)]
Limit number of samples decoded for WavPack mono mode, so decoded samples will
fit into output buffer.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@26269 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

7 years agoskip unsupported postproc information
faust3 [Sat, 8 Jan 2011 15:49:29 +0000 (15:49 +0000)]
skip unsupported postproc information

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@26268 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

7 years agoadd support for files that do not allow more than 4 subframes
faust3 [Sat, 8 Jan 2011 15:38:14 +0000 (15:38 +0000)]
add support for files that do not allow more than 4 subframes

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@26267 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

7 years agofix indentation
faust3 [Sat, 8 Jan 2011 15:35:56 +0000 (15:35 +0000)]
fix indentation

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@26266 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

7 years agoadd support for files where the frames do not have a length prefix
faust3 [Sat, 8 Jan 2011 15:32:31 +0000 (15:32 +0000)]
add support for files where the frames do not have a length prefix

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@26265 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

7 years agoShow profile in avcodec_string().
cehoyos [Sat, 8 Jan 2011 09:23:25 +0000 (09:23 +0000)]
Show profile in avcodec_string().

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@26264 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

7 years agoFix bmp encoder with 8 bits format and correctly set bits_per_coded_sample
bcoudurier [Fri, 7 Jan 2011 23:56:47 +0000 (23:56 +0000)]
Fix bmp encoder with 8 bits format and correctly set bits_per_coded_sample

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@26263 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

7 years agoDeprecate reordered_opaque in favor of pkt_pts/dts
michael [Fri, 7 Jan 2011 23:07:31 +0000 (23:07 +0000)]
Deprecate reordered_opaque in favor of pkt_pts/dts

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@26262 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b