]> git.sesse.net Git - ffmpeg/log
ffmpeg
12 years agoAdd Vladimir Voroshilov's copyright header to bit.c.
Carl Eugen Hoyos [Sat, 29 Oct 2011 11:06:27 +0000 (13:06 +0200)]
Add Vladimir Voroshilov's copyright header to bit.c.

12 years agoApple ProRes encoder
Anatoliy Wasserman [Fri, 28 Oct 2011 20:13:58 +0000 (13:13 -0700)]
Apple ProRes encoder

Signed-off-by: Anatoliy Wasserman <anatoliy.wasserman@yandex.ru>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Sat, 29 Oct 2011 00:08:54 +0000 (02:08 +0200)]
Merge remote-tracking branch 'qatar/master'

* qatar/master: (53 commits)
  probe: Restore identification of files with very large id3 tags and no extension.
  probe: Remove id3 tag presence as a criteria to do file extension checking.
  mpegts: MP4 SL support
  mpegts: MP4 OD support
  mpegts: Add support for Sections in PMT
  mpegts: Replace the MP4 descriptor parser with a recursive parser.
  mpegts: Add support for multiple mp4 descriptors
  mpegts: Parse mpeg2 SL descriptors.
  isom: Add MPEG4SYSTEMS dummy object type indication.
  aacdec: allow output reconfiguration on channel changes
  nellymoserenc: take float input samples instead of int16
  nellymoserdec: use dsp functions for overlap and windowing
  nellymoserdec: do not fail if there is extra data in the packet
  nellymoserdec: fail if output buffer is too small
  nellymoserdec: remove pointless buffer size check.
  lavf: add init_put_byte() to the list of visible symbols.
  seek-test: free options dictionary after use
  snow: do not draw_edge if emu_edge is set
  tools/pktdumper: update to recent avformat api
  seek-test: update to recent avformat api
  ...

Conflicts:
doc/APIchanges
libavcodec/mpegaudiodec.c
libavcodec/nellymoserdec.c
libavcodec/snow.c
libavcodec/version.h
libavcodec/wmadec.c
libavformat/avformat.h
libavformat/mpegts.c
libavformat/mxfdec.c
libavformat/utils.c
libavformat/wtv.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoprobe: Restore identification of files with very large id3 tags and no extension.
Alex Converse [Wed, 26 Oct 2011 01:37:24 +0000 (18:37 -0700)]
probe: Restore identification of files with very large id3 tags and no extension.

Restore behavior of identifying files with huge id3 tags as
mp3 at AVPROBE_SCORE_MAX/4. This was broken in r25378 and subsequently
removed in r25929.

12 years agoprobe: Remove id3 tag presence as a criteria to do file extension checking.
Alex Converse [Wed, 26 Oct 2011 01:26:35 +0000 (18:26 -0700)]
probe: Remove id3 tag presence as a criteria to do file extension checking.

This only encourages our users to put id3v2 tags on non-mp3 files to opt
into extension based probing.

12 years agompegts: MP4 SL support
Alex Converse [Tue, 11 Oct 2011 21:49:59 +0000 (14:49 -0700)]
mpegts: MP4 SL support

12 years agompegts: MP4 OD support
Alex Converse [Mon, 10 Oct 2011 19:50:00 +0000 (12:50 -0700)]
mpegts: MP4 OD support

12 years agompegts: Add support for Sections in PMT
Alex Converse [Thu, 6 Oct 2011 01:24:17 +0000 (18:24 -0700)]
mpegts: Add support for Sections in PMT

12 years agompegts: Replace the MP4 descriptor parser with a recursive parser.
Alex Converse [Wed, 5 Oct 2011 18:04:42 +0000 (11:04 -0700)]
mpegts: Replace the MP4 descriptor parser with a recursive parser.

12 years agompegts: Add support for multiple mp4 descriptors
Alex Converse [Wed, 5 Oct 2011 06:43:59 +0000 (23:43 -0700)]
mpegts: Add support for multiple mp4 descriptors

12 years agompegts: Parse mpeg2 SL descriptors.
Alex Converse [Wed, 5 Oct 2011 01:24:22 +0000 (18:24 -0700)]
mpegts: Parse mpeg2 SL descriptors.

12 years agoisom: Add MPEG4SYSTEMS dummy object type indication.
Alex Converse [Wed, 5 Oct 2011 17:59:15 +0000 (10:59 -0700)]
isom: Add MPEG4SYSTEMS dummy object type indication.

12 years agoaacdec: allow output reconfiguration on channel changes
Michael Niedermayer [Fri, 21 Oct 2011 09:41:35 +0000 (09:41 +0000)]
aacdec: allow output reconfiguration on channel changes

Locking the decoder against channel config changes in
parse_adts_frame_header() seems to be unnecessary and
streams with channel config changes are reported.

The sample in http://roundup.libav.org/issue999 still works.

Signed-off-by: Janne Grunau <janne-libav@jannau.net>
12 years agolavf: add init_put_byte() to the list of visible symbols.
Anton Khirnov [Fri, 28 Oct 2011 17:53:55 +0000 (19:53 +0200)]
lavf: add init_put_byte() to the list of visible symbols.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agonellymoserenc: take float input samples instead of int16
Justin Ruggles [Mon, 24 Oct 2011 12:44:24 +0000 (08:44 -0400)]
nellymoserenc: take float input samples instead of int16

This avoids having to convert all input data from int16 to float, which is used
internally for encoding.

12 years agonellymoserdec: use dsp functions for overlap and windowing
Justin Ruggles [Fri, 28 Oct 2011 18:15:25 +0000 (14:15 -0400)]
nellymoserdec: use dsp functions for overlap and windowing

12 years agonellymoserdec: do not fail if there is extra data in the packet
Justin Ruggles [Mon, 17 Oct 2011 14:24:47 +0000 (10:24 -0400)]
nellymoserdec: do not fail if there is extra data in the packet

instead just print a warning

12 years agonellymoserdec: fail if output buffer is too small
Justin Ruggles [Mon, 17 Oct 2011 14:22:46 +0000 (10:22 -0400)]
nellymoserdec: fail if output buffer is too small

avoids silently truncating the output

12 years agonellymoserdec: remove pointless buffer size check.
Justin Ruggles [Mon, 17 Oct 2011 14:09:52 +0000 (10:09 -0400)]
nellymoserdec: remove pointless buffer size check.

12 years agolavf: add init_put_byte() to the list of visible symbols.
Anton Khirnov [Fri, 28 Oct 2011 17:53:55 +0000 (19:53 +0200)]
lavf: add init_put_byte() to the list of visible symbols.

12 years agoseek-test: free options dictionary after use
Janne Grunau [Fri, 28 Oct 2011 17:22:27 +0000 (19:22 +0200)]
seek-test: free options dictionary after use

12 years agosnow: do not draw_edge if emu_edge is set
Michael Niedermayer [Wed, 26 Oct 2011 13:47:14 +0000 (15:47 +0200)]
snow: do not draw_edge if emu_edge is set

Fix segfault on emu edge, to reproduce

make fate-vsynth1-snow
avplay -flags emu_edge tests/data/vsynth1/snow.avi

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
12 years agoFix dca decoding for many samples after last commit.
Carl Eugen Hoyos [Fri, 28 Oct 2011 17:13:59 +0000 (19:13 +0200)]
Fix dca decoding for many samples after last commit.

Still be less verbose about channel count change from 0 channels.

12 years agotools/pktdumper: update to recent avformat api
Janne Grunau [Fri, 28 Oct 2011 16:36:54 +0000 (18:36 +0200)]
tools/pktdumper: update to recent avformat api

12 years agoseek-test: update to recent avformat api
Janne Grunau [Fri, 28 Oct 2011 16:32:51 +0000 (18:32 +0200)]
seek-test: update to recent avformat api

12 years agoBe less verbose about dca channel number changes.
Carl Eugen Hoyos [Fri, 28 Oct 2011 16:21:40 +0000 (18:21 +0200)]
Be less verbose about dca channel number changes.

Only inform the user that the number of channels changed if it was set
before.

12 years agoRemove unused dca context variable.
Carl Eugen Hoyos [Fri, 28 Oct 2011 16:20:37 +0000 (18:20 +0200)]
Remove unused dca context variable.

12 years agowmavoice: move output buffer size check to synth_superframe().
Justin Ruggles [Sun, 25 Sep 2011 00:13:56 +0000 (20:13 -0400)]
wmavoice: move output buffer size check to synth_superframe().

this allows for checking against the actual output size instead of max size.

12 years agowmavoice: only set data_size to 0 when necessary
Justin Ruggles [Sun, 25 Sep 2011 00:11:34 +0000 (20:11 -0400)]
wmavoice: only set data_size to 0 when necessary

12 years agowmapro: fix strict-aliasing violations by using av_alias32
Justin Ruggles [Sat, 24 Sep 2011 04:50:22 +0000 (00:50 -0400)]
wmapro: fix strict-aliasing violations by using av_alias32

Also fix some undefined unsigned/signed conversions.

12 years agowmapro: use FmtConvertContext.float_interleave() to interleave output samples
Justin Ruggles [Sat, 24 Sep 2011 04:34:37 +0000 (00:34 -0400)]
wmapro: use FmtConvertContext.float_interleave() to interleave output samples

12 years agowmadec: consolidate 2 output buffer size checks into 1 check
Justin Ruggles [Sat, 24 Sep 2011 03:38:36 +0000 (23:38 -0400)]
wmadec: consolidate 2 output buffer size checks into 1 check

12 years agoapedec: assert that s->samples is not negative before trying to decode
Justin Ruggles [Tue, 11 Oct 2011 18:38:21 +0000 (14:38 -0400)]
apedec: assert that s->samples is not negative before trying to decode

12 years agoapedec: use FFALIGN macro for internal data buffer size
Justin Ruggles [Tue, 11 Oct 2011 18:35:33 +0000 (14:35 -0400)]
apedec: use FFALIGN macro for internal data buffer size

12 years agoapedec: do not keep incrementing the input data pointer past the end of the
Justin Ruggles [Tue, 11 Oct 2011 18:12:54 +0000 (14:12 -0400)]
apedec: do not keep incrementing the input data pointer past the end of the
buffer during entropy decoding.

The pointer address could overflow, which would likely segfault. Instead set
the context error flag to indicate that the decoder tried to read past the
end of the packet data.

12 years agoapedec: check for input buffer overflow while reading frame header
Justin Ruggles [Tue, 11 Oct 2011 18:06:52 +0000 (14:06 -0400)]
apedec: check for input buffer overflow while reading frame header

12 years agoapedec: use unsigned int for offset
Justin Ruggles [Tue, 11 Oct 2011 17:34:18 +0000 (13:34 -0400)]
apedec: use unsigned int for offset

avoids implementation-defined unsigned-to-signed conversion and simplifies
the bounds checking.

12 years agoapedec: remove pointless increment of 'buf'
Justin Ruggles [Tue, 11 Oct 2011 17:25:48 +0000 (13:25 -0400)]
apedec: remove pointless increment of 'buf'

The variable is not used anymore at that point.

12 years agoapedec: set s->currentframeblocks after validating nblocks
Justin Ruggles [Tue, 11 Oct 2011 17:25:27 +0000 (13:25 -0400)]
apedec: set s->currentframeblocks after validating nblocks

12 years agoapedec: use unsigned int for 'nblocks' and make sure that it's within int range
Justin Ruggles [Tue, 11 Oct 2011 17:17:44 +0000 (13:17 -0400)]
apedec: use unsigned int for 'nblocks' and make sure that it's within int range

12 years agoapedec: do not set s->samples until after validation.
Justin Ruggles [Tue, 11 Oct 2011 16:49:46 +0000 (12:49 -0400)]
apedec: do not set s->samples until after validation.

This prevents errors and/or invalid writes in the next decode call due to
s->samples still being negative.

12 years agoapedec: check for data buffer realloc failure
Justin Ruggles [Tue, 11 Oct 2011 16:47:11 +0000 (12:47 -0400)]
apedec: check for data buffer realloc failure

12 years agoapedec: return meaningful error values in ape_decode_frame()
Justin Ruggles [Tue, 11 Oct 2011 15:55:56 +0000 (11:55 -0400)]
apedec: return meaningful error values in ape_decode_frame()

12 years agoapedec: correct an error message
Justin Ruggles [Tue, 11 Oct 2011 15:54:42 +0000 (11:54 -0400)]
apedec: correct an error message

12 years agoapedec: cosmetics
Justin Ruggles [Tue, 11 Oct 2011 15:53:17 +0000 (11:53 -0400)]
apedec: cosmetics

break some excessively long lines and remove space after '*'

12 years agoapedec: return meaningful error codes from ape_decode_init()
Justin Ruggles [Tue, 11 Oct 2011 15:48:39 +0000 (11:48 -0400)]
apedec: return meaningful error codes from ape_decode_init()

12 years agoapedec: check for filter buffer allocation failure
Justin Ruggles [Tue, 11 Oct 2011 15:47:15 +0000 (11:47 -0400)]
apedec: check for filter buffer allocation failure

12 years agoapedec: use memcpy for pseudo-stereo mode
Justin Ruggles [Tue, 11 Oct 2011 15:37:55 +0000 (11:37 -0400)]
apedec: use memcpy for pseudo-stereo mode

12 years agoapedec: remove unneeded check for zero-size packet.
Justin Ruggles [Mon, 10 Oct 2011 19:54:36 +0000 (15:54 -0400)]
apedec: remove unneeded check for zero-size packet.

This is already checked by avcodec_decode_audio3().

12 years agoFix a regression in the dca parser introduced by dts express support.
Hendrik Leppkes [Mon, 25 Jul 2011 19:32:53 +0000 (21:32 +0200)]
Fix a regression in the dca parser introduced by dts express support.

The dca parser needs to check that the framesize is actually of a complete
frame, and not of a partial DTS-HD frame, which is not constant size, and
thus the check would fail.
(cherry picked from commit ebc0ccb9af59b78732e82c09f8c90b1d46b478e0)

Review-by: Benjamin Larsson
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agodca_parser: Add support for parsing dts express
Hendrik Leppkes [Fri, 27 May 2011 14:14:48 +0000 (16:14 +0200)]
dca_parser: Add support for parsing dts express
(cherry picked from commit ea36f60493f675db531dc2dbef04fb60fbc21a6a)

Review-by: Benjamin Larsson
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agodca: allow the channel count to change.
Hendrik Leppkes [Tue, 6 Sep 2011 20:22:53 +0000 (22:22 +0200)]
dca: allow the channel count to change.
(cherry picked from commit 42e78d2296752293cd08c5727f76c3b37c68fb24)

Review-by: Benjamin Larsson
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agolavf: move private fields in AVStream to the end at next bump.
Anton Khirnov [Wed, 19 Oct 2011 18:00:09 +0000 (20:00 +0200)]
lavf: move private fields in AVStream to the end at next bump.

12 years agolavf: move private fields in AVFormatContext to the end at next bump.
Anton Khirnov [Wed, 19 Oct 2011 18:00:09 +0000 (20:00 +0200)]
lavf: move private fields in AVFormatContext to the end at next bump.

12 years agolavf: make some seeking functions private
Anton Khirnov [Sun, 16 Oct 2011 13:03:30 +0000 (15:03 +0200)]
lavf: make some seeking functions private

Specifically av_update_cur_dts(), av_seek_frame_binary() and
av_gen_search().

They are not supposed to be called outside lavf.

12 years agomp3on4: do not needlessly set data_size to 0
Justin Ruggles [Tue, 25 Oct 2011 16:46:57 +0000 (12:46 -0400)]
mp3on4: do not needlessly set data_size to 0

12 years agomp3adu: return error instead of just consuming bad packets
Justin Ruggles [Tue, 25 Oct 2011 16:45:39 +0000 (12:45 -0400)]
mp3adu: return error instead of just consuming bad packets

12 years agompegaudiodec: check output data size based on avctx->frame_size
Justin Ruggles [Tue, 27 Sep 2011 18:27:43 +0000 (14:27 -0400)]
mpegaudiodec: check output data size based on avctx->frame_size

12 years agoavcodec: remove avcodec_parse_frame and deprecate associated elements.
Justin Ruggles [Tue, 27 Sep 2011 17:54:25 +0000 (13:54 -0400)]
avcodec: remove avcodec_parse_frame and deprecate associated elements.

The documentation for CODEC_CAP_PARSE_ONLY and AVCodecContext.parse_only
indicates that they are utilized through avcodec_parse_frame(), which was
never actually implemented.

12 years agompegaudiodec: cosmetics: basic pretty-printing
Justin Ruggles [Tue, 27 Sep 2011 17:15:24 +0000 (13:15 -0400)]
mpegaudiodec: cosmetics: basic pretty-printing

12 years agompegaudiodec: remove frame_count field from MPADecodeContext.
Justin Ruggles [Tue, 27 Sep 2011 16:02:30 +0000 (12:02 -0400)]
mpegaudiodec: remove frame_count field from MPADecodeContext.

Its functionality was removed several years ago, so it doesn't do anything.
AVCodecContext.frame_number could serve the same purpose if someone
wants to debug the frame count.

12 years agompegaudiodec: return AVERROR return codes instead of -1
Justin Ruggles [Tue, 27 Sep 2011 15:49:50 +0000 (11:49 -0400)]
mpegaudiodec: return AVERROR return codes instead of -1

12 years agompegaudiodec: Skip only bad frames instead of the whole packet.
Justin Ruggles [Tue, 27 Sep 2011 14:39:54 +0000 (10:39 -0400)]
mpegaudiodec: Skip only bad frames instead of the whole packet.

On frame decoding failure, return an error if the frame is the same size as
the whole packet, otherwise just log an error message and return the number
of bytes consumed.

12 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Fri, 28 Oct 2011 00:53:33 +0000 (02:53 +0200)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  lavc: remove "legacy" mpegvideo decoder.
  iv8: assemble packets to return complete frames
  pulse: documentation
  pulse: introduce pulseaudio input
  remove the zork pcm seek test

Conflicts:
configure
libavdevice/Makefile
libavdevice/alldevices.c
libavdevice/avdevice.h
libavdevice/pulse.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
12 years agorawdec: add check on sample_rate
Stefano Sabatini [Wed, 26 Oct 2011 23:38:21 +0000 (01:38 +0200)]
rawdec: add check on sample_rate

Prevent error condition in case sample_rate is unset or set to a negative
value. In particular, fix divide-by-zero error occurring in ffmpeg due to
sample_rate set to 0 in output_packet(), in code:

                ist->next_pts += ((int64_t)AV_TIME_BASE * ist->st->codec->frame_size) /
                    ist->st->codec->sample_rate;

Fix trac ticket #324.

12 years agolavfi: add internal function ff_fill_rgba_map()
Stefano Sabatini [Mon, 24 Oct 2011 17:58:48 +0000 (19:58 +0200)]
lavfi: add internal function ff_fill_rgba_map()

12 years agoImplement parsing of the "HandlerName" from th MP4 HDLR atom.
Hendrik Leppkes [Wed, 28 Sep 2011 17:37:45 +0000 (19:37 +0200)]
Implement parsing of the "HandlerName" from th MP4 HDLR atom.

This atom typically is used for a track title.
(cherry picked from commit a356137816b4ea20a892d1fb203b11dbfedbc543)

Reviewed-by: Baptiste Coudurier
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agomov: Support empty first edit + normal second edit.
Yusuke Nakamura [Sat, 4 Jun 2011 17:45:54 +0000 (02:45 +0900)]
mov: Support empty first edit + normal second edit.
(cherry picked from commit df342c91e6cfceb2537c2d1b2442dd685381a0ca)

Reviewed-by: Baptiste Coudurier
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agolavc: Map deprecated codec ids to ours so as to maintain compatibility with the fork.
Michael Niedermayer [Mon, 24 Oct 2011 19:45:33 +0000 (21:45 +0200)]
lavc: Map deprecated codec ids to ours so as to maintain compatibility with the fork.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoavcodec: Change values of codec ids at the end of lists that dont exist outside ffmpe...
Michael Niedermayer [Mon, 24 Oct 2011 19:40:23 +0000 (21:40 +0200)]
avcodec: Change values of codec ids at the end of lists that dont exist outside ffmpeg yet so
they wont conflict when they get added to the fork with randomly changed order and values.
Also add duplicate codec_ids to allow maintaining compatibility.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoavcodec: Resolve the codec_id compatibility issue.
Michael Niedermayer [Mon, 24 Oct 2011 19:21:45 +0000 (21:21 +0200)]
avcodec: Resolve the codec_id compatibility issue.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoAdd SMPTE240M transfer characteristics flag.
Hendrik Leppkes [Wed, 28 Sep 2011 19:29:21 +0000 (21:29 +0200)]
Add SMPTE240M transfer characteristics flag.
(cherry picked from commit 4266191919c31a1921b497ec831d3b1c1fa28df8)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agolavc: remove "legacy" mpegvideo decoder.
Anton Khirnov [Tue, 25 Oct 2011 14:52:02 +0000 (16:52 +0200)]
lavc: remove "legacy" mpegvideo decoder.

12 years agoashowinfo: fix typo in description.
Clément Bœsch [Thu, 27 Oct 2011 20:16:24 +0000 (22:16 +0200)]
ashowinfo: fix typo in description.

12 years agovf_showinfo: print checksums in hexadecimal.
Clément Bœsch [Thu, 27 Oct 2011 20:14:57 +0000 (22:14 +0200)]
vf_showinfo: print checksums in hexadecimal.

12 years agompegts: Fix detection of some raw AAC
Michael Niedermayer [Thu, 27 Oct 2011 19:22:31 +0000 (21:22 +0200)]
mpegts: Fix detection of some raw AAC
Fixes Ticket577

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoj2kdec: debug markers support.
Michael Niedermayer [Tue, 3 May 2011 01:33:49 +0000 (03:33 +0200)]
j2kdec: debug markers support.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoMerge remote-tracking branch 'luzero/pulse'
Michael Niedermayer [Thu, 27 Oct 2011 17:46:53 +0000 (19:46 +0200)]
Merge remote-tracking branch 'luzero/pulse'

* luzero/pulse:
  pulse: set the device from the avformat filename

Conflicts:
libavdevice/pulse.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoiv8: assemble packets to return complete frames
Janne Grunau [Thu, 27 Oct 2011 15:41:40 +0000 (17:41 +0200)]
iv8: assemble packets to return complete frames

12 years agoh264_parser: fully parse first_mb_in_slice to more reliably detect AU boundaries.
Michael Niedermayer [Thu, 27 Oct 2011 15:53:29 +0000 (17:53 +0200)]
h264_parser: fully parse first_mb_in_slice to more reliably detect AU boundaries.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoh264: use long reading for first_mb_in_slice
Michael Niedermayer [Thu, 27 Oct 2011 15:53:08 +0000 (17:53 +0200)]
h264: use long reading for first_mb_in_slice

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoresample: Fix array size
Michael Niedermayer [Thu, 27 Oct 2011 13:26:45 +0000 (15:26 +0200)]
resample: Fix array size

Found-by: Jim Radford
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoresample2: fix potential overflow
Michael Niedermayer [Thu, 27 Oct 2011 12:34:45 +0000 (14:34 +0200)]
resample2: fix potential overflow

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoresample: Fix overflow
Michael Niedermayer [Thu, 27 Oct 2011 12:31:53 +0000 (14:31 +0200)]
resample: Fix overflow

Found-by: Jim Radford
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agovf_scale: Request an aligned buffer.
Michael Niedermayer [Thu, 27 Oct 2011 01:46:50 +0000 (03:46 +0200)]
vf_scale: Request an aligned buffer.
Fixes Ticket594

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agovf_pad: Fix alignment of get_video_buffer()
Michael Niedermayer [Thu, 27 Oct 2011 01:46:09 +0000 (03:46 +0200)]
vf_pad: Fix alignment of get_video_buffer()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoavfilter: add named constamt to indicate the amount of alignment that AV_PERM_ALIGN...
Michael Niedermayer [Thu, 27 Oct 2011 01:45:02 +0000 (03:45 +0200)]
avfilter: add named constamt to indicate the amount of alignment that AV_PERM_ALIGN means.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoavfilter: add flag to indicate that alignment is needed
Michael Niedermayer [Thu, 27 Oct 2011 01:44:41 +0000 (03:44 +0200)]
avfilter: add flag to indicate that alignment is needed

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agopulse: documentation
Luca Barbato [Wed, 26 Oct 2011 16:27:54 +0000 (09:27 -0700)]
pulse: documentation

Specify avoptions and how to use pactl to list devices.

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
12 years agopulse: introduce pulseaudio input
Luca Barbato [Wed, 26 Oct 2011 16:27:53 +0000 (09:27 -0700)]
pulse: introduce pulseaudio input

It currently use the simple api and is using the latency information
provided only to offset the stream start.

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
12 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Wed, 26 Oct 2011 23:26:43 +0000 (01:26 +0200)]
Merge remote-tracking branch 'qatar/master'

* qatar/master: (35 commits)
  libopencore-amr: check output buffer size before decoding
  libopencore-amr: remove unneeded buf_size==0 check.
  libopencore-amr: remove unneeded frame_count field.
  aac_latm: remove unneeded check for zero-size packet.
  pcmdec: fix output buffer size check by calculating the actual output size prior to decoding.
  pcmdec: move codec-specific variable declarations to the corresponding codec blocks.
  pcmdec: return buf_size instead of src-buf.
  avcodec: remove the Zork PCM encoder.
  pcm_zork: use AV_SAMPLE_FMT_U8 instead of shifting all samples by 8.
  pcmenc: remove unneeded sample_fmt check.
  pcmdec: move number of channels check to pcm_decode_init()
  pcmdec: remove unnecessary check for sample_fmt change
  pcmdec: move DVD PCM bits_per_coded_sample check near to the code that sets the sample size.
  pcmdec: do not needlessly set *data_size to 0
  alacdec: remove unneeded NULL or zero-size packet checks.
  alacdec: simplify buffer allocation by using FF_ALLOC_OR_GOTO()
  alacdec: ask for a sample for unsupported sample depths.
  alacdec: cosmetics: use 'ch' instead of 'chan' to iterate channels
  alacdec: move some declarations to the top of the function
  alacdec: always use get_sbits_long() for uncompressed samples
  ...

Conflicts:
libavcodec/pcm.c
tests/ref/acodec/pcm

Merged-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoTimecode v2 muxer
David Conrad [Fri, 14 Aug 2009 06:38:45 +0000 (02:38 -0400)]
Timecode v2 muxer
(cherry picked from commit 79ca161498744330ac940ae773dda3f1796ce955)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoremove the zork pcm seek test
Justin Ruggles [Wed, 26 Oct 2011 22:48:02 +0000 (18:48 -0400)]
remove the zork pcm seek test

this was forgotten when the encoder was removed

12 years agodoc: tiny spelling fix
Michael Niedermayer [Wed, 26 Oct 2011 22:25:32 +0000 (00:25 +0200)]
doc: tiny spelling fix

Found-by & newspelling-by: pasteeater
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoVP8: Unroll decoding segment update
David Conrad [Sun, 25 Jul 2010 02:44:31 +0000 (22:44 -0400)]
VP8: Unroll decoding segment update

12 years agoVP8: Remove no longer used vp8_rac_get_tree_with_offset
David Conrad [Sat, 24 Jul 2010 05:47:06 +0000 (01:47 -0400)]
VP8: Remove no longer used vp8_rac_get_tree_with_offset

12 years agoavidec: Return correct error code from avi_sync() in case of IO error.
Michael Niedermayer [Wed, 26 Oct 2011 21:14:35 +0000 (23:14 +0200)]
avidec: Return correct error code from avi_sync() in case of IO error.

Found-by: Tanami, Ohad
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agodoc: document -moov_size
Michael Niedermayer [Wed, 26 Oct 2011 20:16:12 +0000 (22:16 +0200)]
doc: document -moov_size

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agomovenc: reserved_moov_size, which allows placing moov at the begin of the file.
Michael Niedermayer [Wed, 26 Oct 2011 20:09:26 +0000 (22:09 +0200)]
movenc: reserved_moov_size, which allows placing moov at the begin of the file.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agolibopencore-amr: check output buffer size before decoding
Justin Ruggles [Tue, 27 Sep 2011 21:24:27 +0000 (17:24 -0400)]
libopencore-amr: check output buffer size before decoding