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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Peter Ross [Sun, 9 Jan 2011 02:44:54 +0000 (02:44 +0000)]
fix indentation
Originally committed as revision 26278 to svn://svn.ffmpeg.org/ffmpeg/trunk
Peter Ross [Sun, 9 Jan 2011 02:42:16 +0000 (02:42 +0000)]
wtv: only process timestamp_guid chunks for streams that we know about
Originally committed as revision 26277 to svn://svn.ffmpeg.org/ffmpeg/trunk
Peter Ross [Sun, 9 Jan 2011 02:35:06 +0000 (02:35 +0000)]
wtv: do not repopulate codec information after we have seen data chunks
Originally committed as revision 26276 to svn://svn.ffmpeg.org/ffmpeg/trunk
Peter Ross [Sun, 9 Jan 2011 02:21:30 +0000 (02:21 +0000)]
wtv: stop processing chunks if length is smaller than chunk header
Originally committed as revision 26275 to svn://svn.ffmpeg.org/ffmpeg/trunk
Peter Ross [Sun, 9 Jan 2011 02:13:58 +0000 (02:13 +0000)]
wtv: fix typo
Originally committed as revision 26274 to svn://svn.ffmpeg.org/ffmpeg/trunk
Peter Ross [Sun, 9 Jan 2011 02:11:41 +0000 (02:11 +0000)]
Add audio codec 0x1602 (AAC LATM)
Originally committed as revision 26273 to svn://svn.ffmpeg.org/ffmpeg/trunk
Justin Ruggles [Sun, 9 Jan 2011 02:04:30 +0000 (02:04 +0000)]
Remove unneeded #include
Originally committed as revision 26272 to svn://svn.ffmpeg.org/ffmpeg/trunk
Justin Ruggles [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.
Originally committed as revision 26271 to svn://svn.ffmpeg.org/ffmpeg/trunk
Carl Eugen Hoyos [Sat, 8 Jan 2011 21:22:15 +0000 (21:22 +0000)]
Lagarith decoder by Nathan Caldwell, saintdev at gmail
Originally committed as revision 26270 to svn://svn.ffmpeg.org/ffmpeg/trunk
Kostya Shishkov [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.
Originally committed as revision 26269 to svn://svn.ffmpeg.org/ffmpeg/trunk
Sascha Sommer [Sat, 8 Jan 2011 15:49:29 +0000 (15:49 +0000)]
skip unsupported postproc information
Originally committed as revision 26268 to svn://svn.ffmpeg.org/ffmpeg/trunk
Sascha Sommer [Sat, 8 Jan 2011 15:38:14 +0000 (15:38 +0000)]
add support for files that do not allow more than 4 subframes
Originally committed as revision 26267 to svn://svn.ffmpeg.org/ffmpeg/trunk
Sascha Sommer [Sat, 8 Jan 2011 15:35:56 +0000 (15:35 +0000)]
fix indentation
Originally committed as revision 26266 to svn://svn.ffmpeg.org/ffmpeg/trunk
Sascha Sommer [Sat, 8 Jan 2011 15:32:31 +0000 (15:32 +0000)]
add support for files where the frames do not have a length prefix
Originally committed as revision 26265 to svn://svn.ffmpeg.org/ffmpeg/trunk
Anssi Hannula [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
Originally committed as revision 26264 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [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
Originally committed as revision 26263 to svn://svn.ffmpeg.org/ffmpeg/trunk
Michael Niedermayer [Fri, 7 Jan 2011 23:07:31 +0000 (23:07 +0000)]
Deprecate reordered_opaque in favor of pkt_pts/dts
Originally committed as revision 26262 to svn://svn.ffmpeg.org/ffmpeg/trunk
Michael Niedermayer [Fri, 7 Jan 2011 23:07:28 +0000 (23:07 +0000)]
Add pkt_dts to AVFrame, this will in the future allow multithreading decoders
to not mess up dts
Originally committed as revision 26261 to svn://svn.ffmpeg.org/ffmpeg/trunk
Michael Niedermayer [Fri, 7 Jan 2011 23:07:24 +0000 (23:07 +0000)]
Add AVFrame.pkt_pts that contains the correctly reordered AVPacket.pts
Originally committed as revision 26260 to svn://svn.ffmpeg.org/ffmpeg/trunk
Anssi Hannula [Fri, 7 Jan 2011 22:27:26 +0000 (22:27 +0000)]
Add av_get_profile_name() to get profile names.
Patch by Anssi Hannula, anssi d hannula a iki d fi
Originally committed as revision 26259 to svn://svn.ffmpeg.org/ffmpeg/trunk
Daniel Kang [Fri, 7 Jan 2011 21:54:52 +0000 (21:54 +0000)]
Check if buffer is large enough for given resolution.
Fixes issue 2501.
Patch by Daniel Kang, daniel.d.kang at gmail
Originally committed as revision 26258 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Fri, 7 Jan 2011 19:56:31 +0000 (19:56 +0000)]
In mov muxer, override codec tag for dv in mov, fix remuxing from avi
Originally committed as revision 26257 to svn://svn.ffmpeg.org/ffmpeg/trunk
Daniel Kang [Fri, 7 Jan 2011 19:55:22 +0000 (19:55 +0000)]
Do not overread input buffer.
Fixes issue 2503.
Patch by Daniel Kang, daniel.d.kang at gmail
Originally committed as revision 26256 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Fri, 7 Jan 2011 19:55:08 +0000 (19:55 +0000)]
In mov muxer, override codec tag for h263 in mov, fix remuxing from 3gp
Originally committed as revision 26255 to svn://svn.ffmpeg.org/ffmpeg/trunk
Luca Barbato [Fri, 7 Jan 2011 18:48:45 +0000 (18:48 +0000)]
Unbreak ffserver
Make sure the sample_aspect_ratio is 0 and not 0/0.
Originally committed as revision 26254 to svn://svn.ffmpeg.org/ffmpeg/trunk
Carl Eugen Hoyos [Fri, 7 Jan 2011 13:24:58 +0000 (13:24 +0000)]
Fail more gracefully for multichannel wavpack in another container.
Originally committed as revision 26253 to svn://svn.ffmpeg.org/ffmpeg/trunk
Anatoly Nenashev [Fri, 7 Jan 2011 10:16:00 +0000 (10:16 +0000)]
Fix lowres > 0 with --enable-avfilter..
Fixes issue 2072 and issue 2421.
Patch by Anatoly Nenashev, anatoly d nenashev a ovsoft d ru
Originally committed as revision 26252 to svn://svn.ffmpeg.org/ffmpeg/trunk
Daniel Kang [Thu, 6 Jan 2011 23:14:27 +0000 (23:14 +0000)]
Prevent a crash by sanity checking buffer reads.
Patch by Daniel Kang, daniel.d.kang at gmail
Originally committed as revision 26251 to svn://svn.ffmpeg.org/ffmpeg/trunk
Anssi Hannula [Thu, 6 Jan 2011 22:34:12 +0000 (22:34 +0000)]
Export dca profile information.
Patch by Anssi Hannula anssi d hannula a iki d fi
Originally committed as revision 26250 to svn://svn.ffmpeg.org/ffmpeg/trunk
Anssi Hannula [Thu, 6 Jan 2011 22:24:39 +0000 (22:24 +0000)]
Verify FSIZE96 when encountering X96 sync code.
Patch by Anssi Hannula, anssi d hannula a iki d fi
Originally committed as revision 26249 to svn://svn.ffmpeg.org/ffmpeg/trunk
Daniel Kang [Thu, 6 Jan 2011 22:12:55 +0000 (22:12 +0000)]
Fix a crash when decoding tiff by moving check
for invalid header up before reading data.
Fixes issue 2500.
Patch by Daniel Kang, daniel.d.kang at gmail
Originally committed as revision 26248 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Thu, 6 Jan 2011 20:17:51 +0000 (20:17 +0000)]
In dnxhd decoder, set key_frame on decoded frame
Originally committed as revision 26247 to svn://svn.ffmpeg.org/ffmpeg/trunk
Martin Storsjö [Thu, 6 Jan 2011 15:22:58 +0000 (15:22 +0000)]
rtsp: Allow requesting of filtering of source packets
If filtered, only packets from the right source address and port
are received.
To test, play back e.g. some mpeg4 video RTSP stream (where the
video stream is the first stream in the presentation) over UDP.
While receiving this stream, send another stream to the same port:
ffmpeg -re -i <whatever> -vcodec mpeg4 -an -f rtp
rtp://127.0.0.1:5000?localport=1234
Normally, the RTSP playback reports lots of errors at this point.
If the RTSP stream has the ?filter_src option enabled, these
interferring packets are ignored.
Originally committed as revision 26246 to svn://svn.ffmpeg.org/ffmpeg/trunk
Martin Storsjö [Thu, 6 Jan 2011 15:16:50 +0000 (15:16 +0000)]
udp: Allow specifying the connect option in udp_set_remote_url, too
If the remote address is updated later with this function, the caller
shouldn't set the connect option until in this call.
Originally committed as revision 26245 to svn://svn.ffmpeg.org/ffmpeg/trunk
Martin Storsjö [Thu, 6 Jan 2011 15:16:09 +0000 (15:16 +0000)]
rtpproto: Allow specifying the connect option, passed through to udp
By calling connect on the UDP socket, only packets from the chosen
peer address and port are received on the socket. This is one
solution to issue 1688.
Originally committed as revision 26244 to svn://svn.ffmpeg.org/ffmpeg/trunk
Daniel Kang [Thu, 6 Jan 2011 14:44:50 +0000 (14:44 +0000)]
Fix crash for files with strip size larger than the buffer.
Fixes issue 2498.
Patch by Daniel Kang, daniel.d.kang at gmail
Originally committed as revision 26243 to svn://svn.ffmpeg.org/ffmpeg/trunk
Carl Eugen Hoyos [Thu, 6 Jan 2011 13:30:32 +0000 (13:30 +0000)]
Set blkalign to 3840 (maximum bytes per frame) for AC-3 in avi.
Fixes playback for corner-cases like 32kHz 320kb.
Originally committed as revision 26242 to svn://svn.ffmpeg.org/ffmpeg/trunk