ffmpeg.git
8 years agompegpsdec: fix reading first mpegps packet
Arne de Bruijn [Sat, 17 Sep 2011 12:59:00 +0000 (14:59 +0200)]
mpegpsdec: fix reading first mpegps packet

8 years agoAvoid NULL dereference on corrupted bitstream with real decoder.
Laurent Aimar [Sat, 17 Sep 2011 21:43:58 +0000 (23:43 +0200)]
Avoid NULL dereference on corrupted bitstream with real decoder.

rv34_decode_slice() can return without allocating any pictures.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoReject slices that does not have the same type than the first one in RV10/RV20 decoder.
Laurent Aimar [Sat, 17 Sep 2011 22:17:44 +0000 (00:17 +0200)]
Reject slices that does not have the same type than the first one in RV10/RV20 decoder.

This prevents crashes with some corrupted bitstreams.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agotimecode: relicense to LGPLv2+ with permission of Baptiste and ubitux.
Michael Niedermayer [Sat, 17 Sep 2011 22:29:32 +0000 (00:29 +0200)]
timecode: relicense to LGPLv2+ with permission of Baptiste and ubitux.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Sat, 17 Sep 2011 20:25:13 +0000 (22:25 +0200)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  lavfi: add select filter
  oggdec: fix out of bound write in the ogg demuxer
  movenc: create an alternate group for each media type
  lavd: add libcdio-paranoia input device for audio CD grabbing
  rawdec: refactor private option for raw video demuxers
  pcmdec: use unique classes for all pcm demuxers.
  rawdec: g722 is always 1 channel/16kHz

Conflicts:
Changelog
configure
doc/filters.texi
libavdevice/avdevice.h
libavfilter/avfilter.h
libavfilter/vf_select.c
tests/ref/lavf/mov

Merged-by: Michael Niedermayer <michaelni@gmx.at>
8 years agocheck all svq3_get_ue_golomb() returns.
Michael Niedermayer [Sat, 17 Sep 2011 19:53:21 +0000 (21:53 +0200)]
check all svq3_get_ue_golomb() returns.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoh264dec: Dont display trash before a keyframe.
Michael Niedermayer [Sat, 17 Sep 2011 17:59:48 +0000 (19:59 +0200)]
h264dec: Dont display trash before a keyframe.
Fixes Ticket472
This may (or may not) cause problems with files that have no keyframes.
Plese open a bugreport or mail me if you have a file for which this fails.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agorv34: check for size mismatch
Michael Niedermayer [Sat, 17 Sep 2011 17:40:25 +0000 (19:40 +0200)]
rv34: check for size mismatch

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agolavfi: add select filter
Stefano Sabatini [Sat, 7 May 2011 00:06:25 +0000 (02:06 +0200)]
lavfi: add select filter

Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years agoFix buffer size used for MC of B frames after a resolution change in the real decoder.
Laurent Aimar [Sat, 17 Sep 2011 14:56:36 +0000 (16:56 +0200)]
Fix buffer size used for MC of B frames after a resolution change in the real decoder.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agooggdec: fix out of bound write in the ogg demuxer
Laurent Aimar [Sun, 11 Sep 2011 21:26:12 +0000 (23:26 +0200)]
oggdec: fix out of bound write in the ogg demuxer

Between ogg_save() and ogg_restore() calls, the number of streams
could have been reduced.

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
8 years agoReject audio tracks with invalid interleaver parameters in RM demuxer.
Laurent Aimar [Sat, 17 Sep 2011 14:56:33 +0000 (16:56 +0200)]
Reject audio tracks with invalid interleaver parameters in RM demuxer.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoFix js_vlc_bits value validation when joint stereo is used in cook decoder.
Laurent Aimar [Sat, 17 Sep 2011 14:56:35 +0000 (16:56 +0200)]
Fix js_vlc_bits value validation when joint stereo is used in cook decoder.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoFix potential overreads in rv34 decoder.
Laurent Aimar [Sat, 17 Sep 2011 14:56:30 +0000 (16:56 +0200)]
Fix potential overreads in rv34 decoder.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agomovenc: create an alternate group for each media type
Anton Khirnov [Fri, 16 Sep 2011 14:06:45 +0000 (16:06 +0200)]
movenc: create an alternate group for each media type

Partially fixes bug 44.

8 years agolavd: add libcdio-paranoia input device for audio CD grabbing
Anton Khirnov [Tue, 13 Sep 2011 15:23:06 +0000 (17:23 +0200)]
lavd: add libcdio-paranoia input device for audio CD grabbing

8 years agorawdec: refactor private option for raw video demuxers
Anton Khirnov [Wed, 14 Sep 2011 12:03:55 +0000 (14:03 +0200)]
rawdec: refactor private option for raw video demuxers

pixel_format/video_size only apply to 'rawvideo' (==uncompressed) demuxer
and make no sense for the other raw (== containerless) demuxers. Keep
only the framerate option for those.

Also use unique classes for all raw video demuxers

8 years agopcmdec: use unique classes for all pcm demuxers.
Anton Khirnov [Wed, 14 Sep 2011 07:54:29 +0000 (09:54 +0200)]
pcmdec: use unique classes for all pcm demuxers.

8 years agorawdec: g722 is always 1 channel/16kHz
Anton Khirnov [Wed, 14 Sep 2011 06:55:27 +0000 (08:55 +0200)]
rawdec: g722 is always 1 channel/16kHz

8 years agomjpegdec: print nb_components too in pict debug info
Michael Niedermayer [Fri, 16 Sep 2011 23:38:20 +0000 (01:38 +0200)]
mjpegdec: print nb_components too in pict debug info

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agomjpegdec: make sure we dont interpret things after the bitstream buffer as resync...
Michael Niedermayer [Fri, 16 Sep 2011 23:32:08 +0000 (01:32 +0200)]
mjpegdec: make sure we dont interpret things after the bitstream buffer as resync marker
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agograph2dot: show timebase information for audio links
Stefano Sabatini [Fri, 16 Sep 2011 23:16:09 +0000 (01:16 +0200)]
graph2dot: show timebase information for audio links

8 years agoaf_aresample: do not request a buffer with AV_PERM_REUSE2 permissions in filter_samples()
Stefano Sabatini [Fri, 16 Sep 2011 23:18:53 +0000 (01:18 +0200)]
af_aresample: do not request a buffer with AV_PERM_REUSE2 permissions in filter_samples()

That was pointless. Simplify.

8 years agomjpegdec: Remove buggy avid hacks, they dont do anything good with any file i found
Michael Niedermayer [Fri, 16 Sep 2011 21:06:47 +0000 (23:06 +0200)]
mjpegdec: Remove buggy avid hacks, they dont do anything good with any file i found
Fix multi plane jpeg
Fixes ticket471

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Fri, 16 Sep 2011 19:43:40 +0000 (21:43 +0200)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  libx264: introduce slice-max-size option
  Fixed size given to init_get_bits().

Merged-by: Michael Niedermayer <michaelni@gmx.at>
8 years agolavf/utils: rewrite real fps calculation code.
Michael Niedermayer [Fri, 16 Sep 2011 18:40:08 +0000 (20:40 +0200)]
lavf/utils: rewrite real fps calculation code.
The new code is free of biasing to the first timestamps
Fixes fraps.fps.test.zip

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agolavdev/lavfi: reindent after the last commit
Stefano Sabatini [Mon, 29 Aug 2011 15:54:21 +0000 (17:54 +0200)]
lavdev/lavfi: reindent after the last commit

8 years agolavdev/lavfi: add audio support
Stefano Sabatini [Thu, 18 Aug 2011 13:39:24 +0000 (15:39 +0200)]
lavdev/lavfi: add audio support

8 years agolavfi: refactor query_formats and auto-insert audio conversion filters
Mina Nagy Zaki [Wed, 13 Jul 2011 15:04:03 +0000 (18:04 +0300)]
lavfi: refactor query_formats and auto-insert audio conversion filters

Behaviour has been changed to fail negotiation if fields have been
left empty.

Patch was originally based on a patch by Hemanth.

Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
8 years agolavfi: add audio convert filter
Stefano Sabatini [Mon, 4 Jul 2011 08:35:39 +0000 (11:35 +0300)]
lavfi: add audio convert filter

Add aconvert filter to perform sample format, channel layout, and
packing format conversion.

The aconvert code depends on audio conversion code in libavcodec, so
this requires a dependency on libavcodec.

Based on previous work by S.N. Hemanth Meenakshisundaram and Mina Nagy
Zaki, performed for the GSoC 2010 and 2011.

8 years agolavfi: add and use an inlink variable in avfilter_config_links()
Stefano Sabatini [Fri, 16 Sep 2011 16:46:09 +0000 (18:46 +0200)]
lavfi: add and use an inlink variable in avfilter_config_links()

Simplify expressions, improve readability.

8 years agolavfi: set link audio time_base if not set in avfilter_config_links()
Stefano Sabatini [Fri, 16 Sep 2011 10:38:31 +0000 (12:38 +0200)]
lavfi: set link audio time_base if not set in avfilter_config_links()

The set value depends on the input link, or on the sample_rate value.
Avoids the need to explicitely set the time_base value.

8 years agomxfenc: Add support for MPEG-2 MP@HL-14 in mxf container
Daniel Kristjansson [Fri, 16 Sep 2011 16:16:30 +0000 (18:16 +0200)]
mxfenc: Add support for MPEG-2 MP@HL-14 in mxf container

Support Main Profile at High 1440 Level in MXF container,
using essence coding label from SMPTE RDD 9, table 6.

8 years agolibx264: introduce slice-max-size option
Luca Barbato [Fri, 16 Sep 2011 02:30:10 +0000 (04:30 +0200)]
libx264: introduce slice-max-size option

Yet another option useful for low latency streaming.

8 years agoffprobe: fix crash with -h.
Clément Bœsch [Fri, 16 Sep 2011 12:31:42 +0000 (14:31 +0200)]
ffprobe: fix crash with -h.

8 years agodoc: fix x264_opts/x264opts typo.
Clément Bœsch [Fri, 16 Sep 2011 09:50:06 +0000 (11:50 +0200)]
doc: fix x264_opts/x264opts typo.

8 years agodshow: remove filters from graph before releasing them
Ramiro Polla [Tue, 13 Sep 2011 17:56:28 +0000 (14:56 -0300)]
dshow: remove filters from graph before releasing them

Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
8 years agodshow: reset list for each filter removed
Ramiro Polla [Tue, 13 Sep 2011 17:55:08 +0000 (14:55 -0300)]
dshow: reset list for each filter removed

Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
8 years agodshow: invert condition to avoid leaking objects
Ramiro Polla [Fri, 9 Sep 2011 03:16:17 +0000 (00:16 -0300)]
dshow: invert condition to avoid leaking objects

Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
8 years agodshow: cleanup internal references on capture interface
Ramiro Polla [Fri, 9 Sep 2011 03:16:06 +0000 (00:16 -0300)]
dshow: cleanup internal references on capture interface

Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
8 years agodshow: release pin on disconnect
Ramiro Polla [Fri, 9 Sep 2011 03:15:54 +0000 (00:15 -0300)]
dshow: release pin on disconnect

Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
8 years agodoc: add documentation for dshow indev
Ramiro Polla [Fri, 9 Sep 2011 03:15:41 +0000 (00:15 -0300)]
doc: add documentation for dshow indev

Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
8 years agodshow: indent
Ramiro Polla [Fri, 9 Sep 2011 03:15:22 +0000 (00:15 -0300)]
dshow: indent

Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
8 years agodshow: add option to list audio/video options
Ramiro Polla [Fri, 9 Sep 2011 03:15:14 +0000 (00:15 -0300)]
dshow: add option to list audio/video options

Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
8 years agodshow: add audio/video options
Ramiro Polla [Fri, 9 Sep 2011 03:12:42 +0000 (00:12 -0300)]
dshow: add audio/video options

Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
8 years agodshow: initialize variable to prevent releasing random data
Ramiro Polla [Fri, 9 Sep 2011 03:10:22 +0000 (00:10 -0300)]
dshow: initialize variable to prevent releasing random data

Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
8 years agodshow: factorise cycling through pins
Ramiro Polla [Fri, 9 Sep 2011 03:10:07 +0000 (00:10 -0300)]
dshow: factorise cycling through pins

Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
8 years agolibavfilter/formats.c: fix compile of test
Michael Niedermayer [Fri, 16 Sep 2011 04:07:07 +0000 (06:07 +0200)]
libavfilter/formats.c: fix compile of test

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agobintext: make decoder names unique
Michael Niedermayer [Fri, 16 Sep 2011 03:33:28 +0000 (05:33 +0200)]
bintext: make decoder names unique

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agobintext: set buffer hints
Michael Niedermayer [Fri, 16 Sep 2011 03:31:46 +0000 (05:31 +0200)]
bintext: set buffer hints

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agobintext: fix possible x variable overflow.
Michael Niedermayer [Fri, 16 Sep 2011 03:31:15 +0000 (05:31 +0200)]
bintext: fix possible x variable overflow.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agobintext: remove unneeded get_buffer()
Michael Niedermayer [Fri, 16 Sep 2011 03:30:36 +0000 (05:30 +0200)]
bintext: remove unneeded get_buffer()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoBinary text decoder
Peter Ross [Fri, 16 Sep 2011 02:50:26 +0000 (04:50 +0200)]
Binary text decoder
Decoder and demuxer for various binary text formats.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agolavfi: add avfilter_all_channel_layouts public symbol
Stefano Sabatini [Thu, 18 Aug 2011 13:26:21 +0000 (15:26 +0200)]
lavfi: add avfilter_all_channel_layouts public symbol

This list is mainly useful to be directly used as a parameter by the
audio sink buffer, when there is no need to force a specific channel
layout.

The list of formats is generated programmatically, and avoids channel
layouts not supported by libavfilter (with more than 8 channels).

We preferred to avoid compile-time generation in order to avoid some
unnecessary complexity (build hacks, generating code maintainance
etc.).

A more compact way to express this list through the use of macros
should be possible when libavfilter will support more than 8 channels,
as there will be no need to filter out channel layouts with more than
8 channels.

See thread:
Subject: [FFmpeg-devel] [PATCH] lavfi: add ff_all_channel_layouts internal symbol
Date: Sat, 20 Aug 2011 15:33:16 +0200

8 years agolavfi: rename avfilter_all_* function names to avfilter_make_all_*
Stefano Sabatini [Mon, 12 Sep 2011 23:46:29 +0000 (01:46 +0200)]
lavfi: rename avfilter_all_* function names to avfilter_make_all_*

A function name should tell what the function does rather than what
the function returns. This also avoids possible conflicts
(e.g. between a function and a public list of all supported formats),
and clarifies the code.

Breaks audio API/ABI, add a backward compatibility layer for video
API/ABI.

8 years agoAPIchanges: remove prores decoder addition entry
Stefano Sabatini [Thu, 15 Sep 2011 22:14:51 +0000 (00:14 +0200)]
APIchanges: remove prores decoder addition entry

It is not an API change.

8 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Thu, 15 Sep 2011 21:10:16 +0000 (23:10 +0200)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  swscale: fix byte overreads in SSE-optimized hscale().
  matroskadec: fix typo.
  matroskadec: bail on parsing of incorrect seek index segments

Merged-by: Michael Niedermayer <michaelni@gmx.at>
8 years agompegts: make sure the "standard" code doesnt override the probing with NONE/DATA.
Michael Niedermayer [Thu, 15 Sep 2011 21:01:04 +0000 (23:01 +0200)]
mpegts: make sure the "standard" code doesnt override the probing with NONE/DATA.
Fixes video stream detection in vid_0x80.ts

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoFixed size given to init_get_bits().
Laurent Aimar [Fri, 9 Sep 2011 21:46:00 +0000 (23:46 +0200)]
Fixed size given to init_get_bits().

init_get_bits() takes a number of bits and not a number of bytes as
its size argument.

Signed-off-by: Alex Converse <alex.converse@gmail.com>
8 years agoCorrect determination of file size and frames in VBRI headers
Ingo Brückl [Thu, 15 Sep 2011 14:19:05 +0000 (16:19 +0200)]
Correct determination of file size and frames in VBRI headers

The fields "Number of Bytes" and "Number of Frames" are mixed up. "Bytes"
come first, "Frames" behind.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoconfigure: require gplv2 for prores
Elvis Presley [Thu, 15 Sep 2011 15:07:00 +0000 (17:07 +0200)]
configure: require gplv2 for prores

Signed-off-by: Elvis Presley <elvis@e.p>
8 years agoconfigure: add GPLv2 support (needed for ProRes)
Elvis Presley [Thu, 15 Sep 2011 15:06:21 +0000 (17:06 +0200)]
configure: add GPLv2 support (needed for ProRes)

Signed-off-by: Elvis Presley <elvis@e.p>
8 years agoswscale: fix byte overreads in SSE-optimized hscale().
Ronald S. Bultje [Thu, 15 Sep 2011 14:30:34 +0000 (07:30 -0700)]
swscale: fix byte overreads in SSE-optimized hscale().

SSE-optimized hScale() scales up to 4 pixels at once, so we need to
allocate up to 3 padding pixels to prevent overreads. This fixes
valgrind errors in various swscale-tests on fate.

8 years agoRevert "get_bits: remove x86 inline asm in A32 bitstream reader"
Elvis Presley [Thu, 15 Sep 2011 04:01:15 +0000 (06:01 +0200)]
Revert "get_bits: remove x86 inline asm in A32 bitstream reader"

This reverts commit 23ce6e72123a40895baaeefeb27c7c18748bd67e.

8 years agoProRes Decoder
Elvis Presley [Thu, 15 Sep 2011 03:50:44 +0000 (05:50 +0200)]
ProRes Decoder

Signed-off-by: Elvis Presley <elvis@e.p>
8 years agomatroskadec: fix typo.
Dustin Brody [Thu, 15 Sep 2011 07:34:38 +0000 (09:34 +0200)]
matroskadec: fix typo.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years agomatroskadec: bail on parsing of incorrect seek index segments
Dustin Brody [Thu, 8 Sep 2011 22:43:32 +0000 (18:43 -0400)]
matroskadec: bail on parsing of incorrect seek index segments

Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years agomjpeg: interlaced buggy avid fix
Michael Niedermayer [Thu, 15 Sep 2011 02:12:32 +0000 (04:12 +0200)]
mjpeg: interlaced buggy avid fix
Fix Ticket362

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agomjpegdec: fix len for AVI1 reader
Michael Niedermayer [Thu, 15 Sep 2011 01:04:28 +0000 (03:04 +0200)]
mjpegdec: fix len for AVI1 reader

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoRevert "MJPEG: emulate EOI also on two consecutive SOI."
Michael Niedermayer [Thu, 15 Sep 2011 01:03:33 +0000 (03:03 +0200)]
Revert "MJPEG: emulate EOI also on two consecutive SOI."
This causes Ticket463, fix will be in the next commits

This reverts commit 5e2ea138b7c4c7f3910837611338bb3b8b761045.

8 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Wed, 14 Sep 2011 19:57:24 +0000 (21:57 +0200)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  lavf utils: Remove write-only variable
  lavf utils: Rename shadowing variable
  smacker: fix a few off by 1 errors
  Check for invalid VLC value in smacker decoder.
  Check and propagate errors when VLC trees cannot be built in smacker decoder.

Merged-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoh264: allow disabling bitstream overread protection by using the fast flag.
Michael Niedermayer [Wed, 14 Sep 2011 18:48:00 +0000 (20:48 +0200)]
h264: allow disabling bitstream overread protection by using the fast flag.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoDon't override duration from file header with bitrate duration
Joakim Plate [Mon, 12 Sep 2011 23:02:48 +0000 (01:02 +0200)]
Don't override duration from file header with bitrate duration

This is most noticable on matroska files which has duration
as part of it's header.

8 years ago[yop] Check return value of avio_seek and avoid modifying state if it fails
Joakim Plate [Wed, 14 Sep 2011 17:43:38 +0000 (19:43 +0200)]
[yop] Check return value of avio_seek and avoid modifying state if it fails

8 years ago[wtv] Check return value of avio_seek and avoid modifying state if it fails
Joakim Plate [Wed, 14 Sep 2011 17:42:33 +0000 (19:42 +0200)]
[wtv] Check return value of avio_seek and avoid modifying state if it fails

8 years ago[tta] Check return value of avio_seek and avoid modifying state if it fails
Joakim Plate [Wed, 14 Sep 2011 17:33:20 +0000 (19:33 +0200)]
[tta] Check return value of avio_seek and avoid modifying state if it fails

8 years ago[tmv] Check return value of avio_seek and avoid modifying state if it fails
Joakim Plate [Wed, 14 Sep 2011 17:33:05 +0000 (19:33 +0200)]
[tmv] Check return value of avio_seek and avoid modifying state if it fails

8 years ago[r3d] Check return value of avio_seek and avoid modifying state if it fails
Joakim Plate [Wed, 14 Sep 2011 17:32:29 +0000 (19:32 +0200)]
[r3d] Check return value of avio_seek and avoid modifying state if it fails

8 years ago[nsv] Check return value of avio_seek and avoid modifying state if it fails
Joakim Plate [Wed, 14 Sep 2011 17:26:57 +0000 (19:26 +0200)]
[nsv] Check return value of avio_seek and avoid modifying state if it fails

8 years ago[mxfdec] Check return value of avio_seek and avoid modifying state if it fails
Joakim Plate [Wed, 14 Sep 2011 17:26:48 +0000 (19:26 +0200)]
[mxfdec] Check return value of avio_seek and avoid modifying state if it fails

8 years ago[mpc8] Check return value of avio_seek and avoid modifying state if it fails
Joakim Plate [Wed, 14 Sep 2011 17:26:32 +0000 (19:26 +0200)]
[mpc8] Check return value of avio_seek and avoid modifying state if it fails

8 years ago[jvd] Check return value of avio_seek and avoid modifying state if it fails
Joakim Plate [Wed, 14 Sep 2011 17:25:43 +0000 (19:25 +0200)]
[jvd] Check return value of avio_seek and avoid modifying state if it fails

8 years ago[filmstrip] Check return value of avio_seek and avoid modifying state if it fails
Joakim Plate [Wed, 14 Sep 2011 17:25:18 +0000 (19:25 +0200)]
[filmstrip] Check return value of avio_seek and avoid modifying state if it fails

8 years ago[ffmdec] Check return value of avio_seek and avoid modifying state if it fails
Joakim Plate [Wed, 14 Sep 2011 17:24:55 +0000 (19:24 +0200)]
[ffmdec] Check return value of avio_seek and avoid modifying state if it fails

8 years ago[dv] Check return value of avio_seek and avoid modifying state if it fails
Joakim Plate [Wed, 14 Sep 2011 17:24:25 +0000 (19:24 +0200)]
[dv] Check return value of avio_seek and avoid modifying state if it fails

8 years ago[cafdec] Check return value of avio_seek and avoid modifying state if it fails
Joakim Plate [Wed, 14 Sep 2011 17:24:07 +0000 (19:24 +0200)]
[cafdec] Check return value of avio_seek and avoid modifying state if it fails

8 years ago[bink] Check return value of avio_seek and avoid modifying state if it fails
Joakim Plate [Wed, 14 Sep 2011 17:23:39 +0000 (19:23 +0200)]
[bink] Check return value of avio_seek and avoid modifying state if it fails

8 years agolavf utils: Remove write-only variable
Alex Converse [Tue, 13 Sep 2011 22:27:01 +0000 (15:27 -0700)]
lavf utils: Remove write-only variable

8 years agolavf utils: Rename shadowing variable
Alex Converse [Tue, 13 Sep 2011 22:26:25 +0000 (15:26 -0700)]
lavf utils: Rename shadowing variable

8 years agoMerge remote-tracking branch 'hexene/scratchpad'
Michael Niedermayer [Wed, 14 Sep 2011 15:46:49 +0000 (17:46 +0200)]
Merge remote-tracking branch 'hexene/scratchpad'

* hexene/scratchpad:
  libstagefright: Explicitly free smart pointer objects
  Changelog: Explain why C++ support is added, and that its optional
  tools/build_libstagefright: rename build/libav to something neutral

Conflicts:
Changelog

Merged-by: Michael Niedermayer <michaelni@gmx.at>
8 years agolibstagefright: Explicitly free smart pointer objects
Mohamed Naufal [Wed, 14 Sep 2011 15:31:07 +0000 (21:01 +0530)]
libstagefright: Explicitly free smart pointer objects

8 years agoChangelog: Explain why C++ support is added, and that its optional
Michael Niedermayer [Wed, 14 Sep 2011 00:35:28 +0000 (02:35 +0200)]
Changelog: Explain why C++ support is added, and that its optional

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agomake mpegts_get_pcr resync if it's not on a valid mpegts packet
elupus [Wed, 27 Aug 2008 18:44:16 +0000 (20:44 +0200)]
make mpegts_get_pcr resync if it's not on a valid mpegts packet

8 years agocosmetic reindent of mpegts_get_pcr
elupus [Wed, 27 Aug 2008 18:08:20 +0000 (20:08 +0200)]
cosmetic reindent of mpegts_get_pcr

8 years agocheck return value of url_fseek in mpegts_get_pcr
elupus [Wed, 27 Aug 2008 18:07:51 +0000 (20:07 +0200)]
check return value of url_fseek in mpegts_get_pcr

8 years agorespect the maximum position mpegts_get_pcr is allowed to seek to
elupus [Wed, 27 Aug 2008 18:07:11 +0000 (20:07 +0200)]
respect the maximum position mpegts_get_pcr is allowed to seek to

8 years agoremove unused code in mpegts_get_pcr
elupus [Wed, 27 Aug 2008 17:57:45 +0000 (19:57 +0200)]
remove unused code in mpegts_get_pcr

8 years agotools/build_libstagefright: rename build/libav to something neutral
Michael Niedermayer [Wed, 14 Sep 2011 00:33:50 +0000 (02:33 +0200)]
tools/build_libstagefright: rename build/libav to something neutral

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoffplay: dont drop all frames if realtime decoding is impossible
Michael Niedermayer [Wed, 14 Sep 2011 12:56:59 +0000 (14:56 +0200)]
ffplay: dont drop all frames if realtime decoding is impossible

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agosmacker: fix a few off by 1 errors
Michael Niedermayer [Tue, 13 Sep 2011 21:24:56 +0000 (23:24 +0200)]
smacker: fix a few off by 1 errors

stereo & 16bit is untested due to lack of samples

Signed-off-by: Martin Storsjö <martin@martin.st>