ffmpeg.git
7 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Thu, 22 Mar 2012 22:16:49 +0000 (23:16 +0100)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  xwma: Validate channels and bits_per_coded_sample.
  mov: Do not read past the end of the ctts_data table.
  mov: Add missing terminator to mov_ch_layout_map_1ch.
  asf: reset side data elements on packet copy.
  wmavoice: fix stack overread.
  wmalossless: error out if a subframe is not used by any channel.
  vqa: check palette chunk size before reading data.
  wmalossless: reset sample pointer for each subframe.
  wmalossless: error out on invalid values for order.

Conflicts:
libavcodec/vqavideo.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoindeo4: check motion vetors.
Michael Niedermayer [Thu, 22 Mar 2012 21:44:54 +0000 (22:44 +0100)]
indeo4: check motion vetors.

Fixes out of heap array read.

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agopngenc: make max_packet_size 64bit check check it.
Michael Niedermayer [Thu, 22 Mar 2012 20:09:03 +0000 (21:09 +0100)]
pngenc: make max_packet_size 64bit check check it.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agopng: make ff_png_pass_mask local to pngdec.
Clément Bœsch [Thu, 22 Mar 2012 21:52:55 +0000 (22:52 +0100)]
png: make ff_png_pass_mask local to pngdec.

7 years agoFix libgsm.c compilation after typo in 67b8c8.
Carl Eugen Hoyos [Thu, 22 Mar 2012 21:00:58 +0000 (22:00 +0100)]
Fix libgsm.c compilation after typo in 67b8c8.

7 years agoxwma: Validate channels and bits_per_coded_sample.
Alex Converse [Wed, 21 Mar 2012 17:58:07 +0000 (10:58 -0700)]
xwma: Validate channels and bits_per_coded_sample.

This prevents a SIGFPE later on.

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
7 years agomov: Do not read past the end of the ctts_data table.
Alex Converse [Wed, 21 Mar 2012 18:24:10 +0000 (11:24 -0700)]
mov: Do not read past the end of the ctts_data table.

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
7 years agomov: Add missing terminator to mov_ch_layout_map_1ch.
Alex Converse [Wed, 21 Mar 2012 16:35:45 +0000 (09:35 -0700)]
mov: Add missing terminator to mov_ch_layout_map_1ch.

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: Libav-stable@libav.org
7 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Thu, 22 Mar 2012 19:58:56 +0000 (20:58 +0100)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  FATE: Add ZeroCodec test
  oggparseogm: fix order of arguments of avpriv_set_pts_info().
  pngenc: better upper bound for encoded frame size.
  aiffdec: set block_duration to 1 for PCM codecs that are supported in AIFF-C
  aiffdec: factor out handling of integer PCM for AIFF-C and plain AIFF
  aiffdec: use av_get_audio_frame_duration() to set block_duration for AIFF-C
  aiffdec: do not set bit rate if block duration is unknown
  wmall: output packet only if we have decoded some samples

Conflicts:
libavcodec/pngenc.c
tests/fate/lossless-video.mak

Merged-by: Michael Niedermayer <michaelni@gmx.at>
7 years agodcaenc: switch to encode2()
Paul B Mahol [Thu, 22 Mar 2012 19:27:19 +0000 (19:27 +0000)]
dcaenc: switch to encode2()

Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoSupport dropping audio dts/pts via -async -1.
Reimar Döffinger [Thu, 22 Mar 2012 19:17:42 +0000 (20:17 +0100)]
Support dropping audio dts/pts via -async -1.

Allows working around issue #605.
Note: as a side effect this fixes that -vsync drop
as far as I could tell would not drop pts/dts values
when duplicating frames or when flushing encoder delay.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
7 years agoasf: reset side data elements on packet copy.
Ronald S. Bultje [Wed, 21 Mar 2012 23:10:37 +0000 (16:10 -0700)]
asf: reset side data elements on packet copy.

Prevents crash (double free) when free()ing the original packet.

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
7 years agowmavoice: fix stack overread.
Ronald S. Bultje [Wed, 21 Mar 2012 22:47:11 +0000 (15:47 -0700)]
wmavoice: fix stack overread.

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
7 years agowmalossless: error out if a subframe is not used by any channel.
Ronald S. Bultje [Wed, 21 Mar 2012 22:43:03 +0000 (15:43 -0700)]
wmalossless: error out if a subframe is not used by any channel.

Prevents infinite loop because min_channel_len never increments.

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
7 years agovqa: check palette chunk size before reading data.
Ronald S. Bultje [Wed, 21 Mar 2012 22:19:31 +0000 (15:19 -0700)]
vqa: check palette chunk size before reading data.

Prevents overreads beyond buffer boundaries.

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
7 years agowmalossless: reset sample pointer for each subframe.
Ronald S. Bultje [Wed, 21 Mar 2012 22:02:19 +0000 (15:02 -0700)]
wmalossless: reset sample pointer for each subframe.

Prevents overwrites when some subframes only encode some channels.

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
7 years agowmalossless: error out on invalid values for order.
Ronald S. Bultje [Wed, 21 Mar 2012 19:40:59 +0000 (12:40 -0700)]
wmalossless: error out on invalid values for order.

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
7 years agoFATE: Add ZeroCodec test
Derek Buitenhuis [Mon, 19 Mar 2012 22:23:42 +0000 (18:23 -0400)]
FATE: Add ZeroCodec test

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
7 years agooggparseogm: fix order of arguments of avpriv_set_pts_info().
Michael Niedermayer [Thu, 8 Mar 2012 20:11:37 +0000 (21:11 +0100)]
oggparseogm: fix order of arguments of avpriv_set_pts_info().

Signed-off-by: Anton Khirnov <anton@khirnov.net>
7 years agopngenc: better upper bound for encoded frame size.
Anton Khirnov [Wed, 21 Mar 2012 08:48:26 +0000 (09:48 +0100)]
pngenc: better upper bound for encoded frame size.

Fixes encoding very large pictures.

Thanks to Костя for providing the formula.

7 years agolibutvideoenc: switch to ff_alloc_packet2().
Michael Niedermayer [Thu, 22 Mar 2012 18:31:18 +0000 (19:31 +0100)]
libutvideoenc: switch to ff_alloc_packet2().

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agolavc: limit realloc() on encoding to the libav compatibility API.
Michael Niedermayer [Thu, 22 Mar 2012 18:12:11 +0000 (19:12 +0100)]
lavc: limit realloc() on encoding to the libav compatibility API.

Neither the old nor new need it.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoVC1: Fix skiploopfilter=all.
Reimar Döffinger [Wed, 21 Mar 2012 21:52:33 +0000 (22:52 +0100)]
VC1: Fix skiploopfilter=all.

It is currently only handled in the parser code for WMV/ASF style
header, but not the one used in the bytestream format used when
muxed into MPEG-TS as on e.g. BluRay.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
7 years agoReplace SSE2 instruction in scalarproduct_float_sse() by SSE equivalent.
ami_stuff [Thu, 22 Mar 2012 18:28:52 +0000 (19:28 +0100)]
Replace SSE2 instruction in scalarproduct_float_sse() by SSE equivalent.

Fixes an AAC decoding issue with the sample from ticket #213 on machines
with SSE but without SSE2.
Based on 89411a by Reimar.

7 years agolavc: Redesign the internal encoding API.
Michael Niedermayer [Thu, 22 Mar 2012 17:07:57 +0000 (18:07 +0100)]
lavc: Redesign the internal encoding API.

The new API allows (optionally and on by default) using a internal buffer to encode, avoiding
the need to allocate large buffers or risking failure on too small buffers.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoavcodec_encode_audio2: use ff_alloc_packet2()
Michael Niedermayer [Thu, 22 Mar 2012 15:29:23 +0000 (16:29 +0100)]
avcodec_encode_audio2: use ff_alloc_packet2()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agozmbvenc: switch to ff_alloc_packet2().
Michael Niedermayer [Thu, 22 Mar 2012 14:00:50 +0000 (15:00 +0100)]
zmbvenc: switch to ff_alloc_packet2().

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoyuv4enc: switch to ff_alloc_packet2().
Michael Niedermayer [Thu, 22 Mar 2012 14:00:50 +0000 (15:00 +0100)]
yuv4enc: switch to ff_alloc_packet2().

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoy41penc: switch to ff_alloc_packet2().
Michael Niedermayer [Thu, 22 Mar 2012 14:00:50 +0000 (15:00 +0100)]
y41penc: switch to ff_alloc_packet2().

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoxwdenc: switch to ff_alloc_packet2().
Michael Niedermayer [Thu, 22 Mar 2012 14:00:50 +0000 (15:00 +0100)]
xwdenc: switch to ff_alloc_packet2().

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoxbmenc: switch to ff_alloc_packet2().
Michael Niedermayer [Thu, 22 Mar 2012 14:00:50 +0000 (15:00 +0100)]
xbmenc: switch to ff_alloc_packet2().

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agowmaenc: switch to ff_alloc_packet2().
Michael Niedermayer [Thu, 22 Mar 2012 14:00:50 +0000 (15:00 +0100)]
wmaenc: switch to ff_alloc_packet2().

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agovorbisenc: switch to ff_alloc_packet2().
Michael Niedermayer [Thu, 22 Mar 2012 14:00:49 +0000 (15:00 +0100)]
vorbisenc: switch to ff_alloc_packet2().

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agov410enc: switch to ff_alloc_packet2().
Michael Niedermayer [Thu, 22 Mar 2012 14:00:49 +0000 (15:00 +0100)]
v410enc: switch to ff_alloc_packet2().

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agov408enc: switch to ff_alloc_packet2().
Michael Niedermayer [Thu, 22 Mar 2012 14:00:49 +0000 (15:00 +0100)]
v408enc: switch to ff_alloc_packet2().

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agov308enc: switch to ff_alloc_packet2().
Michael Niedermayer [Thu, 22 Mar 2012 14:00:49 +0000 (15:00 +0100)]
v308enc: switch to ff_alloc_packet2().

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agov210enc: switch to ff_alloc_packet2().
Michael Niedermayer [Thu, 22 Mar 2012 14:00:49 +0000 (15:00 +0100)]
v210enc: switch to ff_alloc_packet2().

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agotiffenc: switch to ff_alloc_packet2().
Michael Niedermayer [Thu, 22 Mar 2012 14:00:49 +0000 (15:00 +0100)]
tiffenc: switch to ff_alloc_packet2().

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agotiffenc: fix return value.
Michael Niedermayer [Thu, 22 Mar 2012 15:17:30 +0000 (16:17 +0100)]
tiffenc: fix return value.

7 years agotargaenc: switch to ff_alloc_packet2().
Michael Niedermayer [Thu, 22 Mar 2012 14:00:49 +0000 (15:00 +0100)]
targaenc: switch to ff_alloc_packet2().

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agosvq1enc: switch to ff_alloc_packet2().
Michael Niedermayer [Thu, 22 Mar 2012 14:00:49 +0000 (15:00 +0100)]
svq1enc: switch to ff_alloc_packet2().

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agosunrastenc: switch to ff_alloc_packet2().
Michael Niedermayer [Thu, 22 Mar 2012 14:00:49 +0000 (15:00 +0100)]
sunrastenc: switch to ff_alloc_packet2().

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agosgienc: switch to ff_alloc_packet2().
Michael Niedermayer [Thu, 22 Mar 2012 14:00:49 +0000 (15:00 +0100)]
sgienc: switch to ff_alloc_packet2().

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agor210enc: switch to ff_alloc_packet2().
Michael Niedermayer [Thu, 22 Mar 2012 14:00:49 +0000 (15:00 +0100)]
r210enc: switch to ff_alloc_packet2().

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoqtrleenc: switch to ff_alloc_packet2().
Michael Niedermayer [Thu, 22 Mar 2012 14:00:49 +0000 (15:00 +0100)]
qtrleenc: switch to ff_alloc_packet2().

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoproresenc_kostya: switch to ff_alloc_packet2().
Michael Niedermayer [Thu, 22 Mar 2012 14:00:49 +0000 (15:00 +0100)]
proresenc_kostya: switch to ff_alloc_packet2().

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoproresenc_anatoliy: switch to ff_alloc_packet2().
Michael Niedermayer [Thu, 22 Mar 2012 14:00:49 +0000 (15:00 +0100)]
proresenc_anatoliy: switch to ff_alloc_packet2().

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agopnmenc: switch to ff_alloc_packet2().
Michael Niedermayer [Thu, 22 Mar 2012 14:00:49 +0000 (15:00 +0100)]
pnmenc: switch to ff_alloc_packet2().

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agopngenc: switch to ff_alloc_packet2().
Michael Niedermayer [Thu, 22 Mar 2012 14:00:48 +0000 (15:00 +0100)]
pngenc: switch to ff_alloc_packet2().

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agopcxenc: switch to ff_alloc_packet2().
Michael Niedermayer [Thu, 22 Mar 2012 14:00:48 +0000 (15:00 +0100)]
pcxenc: switch to ff_alloc_packet2().

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agopcm: switch to ff_alloc_packet2().
Michael Niedermayer [Thu, 22 Mar 2012 14:00:48 +0000 (15:00 +0100)]
pcm: switch to ff_alloc_packet2().

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agopamenc: switch to ff_alloc_packet2().
Michael Niedermayer [Thu, 22 Mar 2012 14:00:48 +0000 (15:00 +0100)]
pamenc: switch to ff_alloc_packet2().

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agonellymoserenc: switch to ff_alloc_packet2().
Michael Niedermayer [Thu, 22 Mar 2012 14:00:48 +0000 (15:00 +0100)]
nellymoserenc: switch to ff_alloc_packet2().

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agomsvideo1enc: switch to ff_alloc_packet2().
Michael Niedermayer [Thu, 22 Mar 2012 14:00:48 +0000 (15:00 +0100)]
msvideo1enc: switch to ff_alloc_packet2().

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agompegaudioenc: switch to ff_alloc_packet2().
Michael Niedermayer [Thu, 22 Mar 2012 14:00:48 +0000 (15:00 +0100)]
mpegaudioenc: switch to ff_alloc_packet2().

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoljpegenc: switch to ff_alloc_packet2().
Michael Niedermayer [Thu, 22 Mar 2012 14:00:48 +0000 (15:00 +0100)]
ljpegenc: switch to ff_alloc_packet2().

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agolibxvidff: switch to ff_alloc_packet2().
Michael Niedermayer [Thu, 22 Mar 2012 14:00:48 +0000 (15:00 +0100)]
libxvidff: switch to ff_alloc_packet2().

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agolibxavs: switch to ff_alloc_packet2().
Michael Niedermayer [Thu, 22 Mar 2012 14:00:48 +0000 (15:00 +0100)]
libxavs: switch to ff_alloc_packet2().

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agolibx264: switch to ff_alloc_packet2().
Michael Niedermayer [Thu, 22 Mar 2012 14:00:48 +0000 (15:00 +0100)]
libx264: switch to ff_alloc_packet2().

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agolibvpxenc: switch to ff_alloc_packet2().
Michael Niedermayer [Thu, 22 Mar 2012 14:00:48 +0000 (15:00 +0100)]
libvpxenc: switch to ff_alloc_packet2().

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agolibvorbis: switch to ff_alloc_packet2().
Michael Niedermayer [Thu, 22 Mar 2012 14:00:48 +0000 (15:00 +0100)]
libvorbis: switch to ff_alloc_packet2().

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agolibvo-amrwbenc: switch to ff_alloc_packet2().
Michael Niedermayer [Thu, 22 Mar 2012 14:00:48 +0000 (15:00 +0100)]
libvo-amrwbenc: switch to ff_alloc_packet2().

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agolibvo-aacenc: switch to ff_alloc_packet2().
Michael Niedermayer [Thu, 22 Mar 2012 14:00:47 +0000 (15:00 +0100)]
libvo-aacenc: switch to ff_alloc_packet2().

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agolibtheoraenc: switch to ff_alloc_packet2().
Michael Niedermayer [Thu, 22 Mar 2012 14:00:47 +0000 (15:00 +0100)]
libtheoraenc: switch to ff_alloc_packet2().

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agolibspeexenc: switch to ff_alloc_packet2().
Michael Niedermayer [Thu, 22 Mar 2012 14:00:47 +0000 (15:00 +0100)]
libspeexenc: switch to ff_alloc_packet2().

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agolibschroedingerenc: switch to ff_alloc_packet2().
Michael Niedermayer [Thu, 22 Mar 2012 14:00:47 +0000 (15:00 +0100)]
libschroedingerenc: switch to ff_alloc_packet2().

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agolibopencore-amr: switch to ff_alloc_packet2().
Michael Niedermayer [Thu, 22 Mar 2012 14:00:47 +0000 (15:00 +0100)]
libopencore-amr: switch to ff_alloc_packet2().

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agolibmp3lame: switch to ff_alloc_packet2().
Michael Niedermayer [Thu, 22 Mar 2012 14:00:47 +0000 (15:00 +0100)]
libmp3lame: switch to ff_alloc_packet2().

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agolibgsm: switch to ff_alloc_packet2().
Michael Niedermayer [Thu, 22 Mar 2012 14:00:47 +0000 (15:00 +0100)]
libgsm: switch to ff_alloc_packet2().

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agolibfaac: switch to ff_alloc_packet2().
Michael Niedermayer [Thu, 22 Mar 2012 14:00:47 +0000 (15:00 +0100)]
libfaac: switch to ff_alloc_packet2().

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoac3enc: switch to ff_alloc_packet2().
Michael Niedermayer [Thu, 22 Mar 2012 13:59:23 +0000 (14:59 +0100)]
ac3enc: switch to ff_alloc_packet2().

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoa64multienc: switch to ff_alloc_packet2()
Michael Niedermayer [Thu, 22 Mar 2012 03:19:23 +0000 (04:19 +0100)]
a64multienc: switch to ff_alloc_packet2()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agosnowenc: switch to ff_alloc_packet2()
Michael Niedermayer [Thu, 22 Mar 2012 03:26:59 +0000 (04:26 +0100)]
snowenc: switch to ff_alloc_packet2()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoroqaudioenc: switch to ff_alloc_packet2()
Michael Niedermayer [Thu, 22 Mar 2012 03:26:41 +0000 (04:26 +0100)]
roqaudioenc: switch to ff_alloc_packet2()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoroqvideoenc: switch to ff_alloc_packet2()
Michael Niedermayer [Thu, 22 Mar 2012 03:26:20 +0000 (04:26 +0100)]
roqvideoenc: switch to ff_alloc_packet2()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agorawenc: : switch to ff_alloc_packet2()
Michael Niedermayer [Thu, 22 Mar 2012 03:26:07 +0000 (04:26 +0100)]
rawenc: : switch to ff_alloc_packet2()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agora144enc: switch to ff_alloc_packet2()
Michael Niedermayer [Thu, 22 Mar 2012 03:25:51 +0000 (04:25 +0100)]
ra144enc: switch to ff_alloc_packet2()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agompegvideo_enc: : switch to ff_alloc_packet2()
Michael Niedermayer [Thu, 22 Mar 2012 03:25:31 +0000 (04:25 +0100)]
mpegvideo_enc: : switch to ff_alloc_packet2()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agolclenc: switch to ff_alloc_packet2()
Michael Niedermayer [Thu, 22 Mar 2012 03:25:20 +0000 (04:25 +0100)]
lclenc: switch to ff_alloc_packet2()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agojpeglsenc: switch to ff_alloc_packet2()
Michael Niedermayer [Thu, 22 Mar 2012 03:25:06 +0000 (04:25 +0100)]
jpeglsenc: switch to ff_alloc_packet2()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoj2kenc: switch to ff_alloc_packet2()
Michael Niedermayer [Thu, 22 Mar 2012 03:24:55 +0000 (04:24 +0100)]
j2kenc: switch to ff_alloc_packet2()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agohuffyuvenc: switch to ff_alloc_packet2()
Michael Niedermayer [Thu, 22 Mar 2012 03:24:41 +0000 (04:24 +0100)]
huffyuvenc: switch to ff_alloc_packet2()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agogifenc: switch to ff_alloc_packet2()
Michael Niedermayer [Thu, 22 Mar 2012 03:24:30 +0000 (04:24 +0100)]
gifenc: switch to ff_alloc_packet2()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agog726enc: switch to ff_alloc_packet2()
Michael Niedermayer [Thu, 22 Mar 2012 03:24:16 +0000 (04:24 +0100)]
g726enc: switch to ff_alloc_packet2()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agog722enc: switch to ff_alloc_packet2()
Michael Niedermayer [Thu, 22 Mar 2012 03:24:04 +0000 (04:24 +0100)]
g722enc: switch to ff_alloc_packet2()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoflashv2enc: switch to ff_alloc_packet2()
Michael Niedermayer [Thu, 22 Mar 2012 03:23:36 +0000 (04:23 +0100)]
flashv2enc: switch to ff_alloc_packet2()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoflashvenc: switch to ff_alloc_packet2()
Michael Niedermayer [Thu, 22 Mar 2012 03:23:20 +0000 (04:23 +0100)]
flashvenc: switch to ff_alloc_packet2()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoflacenc: switch to ff_alloc_packet2()
Michael Niedermayer [Thu, 22 Mar 2012 03:23:06 +0000 (04:23 +0100)]
flacenc: switch to ff_alloc_packet2()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoffv1enc: switch to ff_alloc_packet2()
Michael Niedermayer [Thu, 22 Mar 2012 03:22:49 +0000 (04:22 +0100)]
ffv1enc: switch to ff_alloc_packet2()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agodvenc: switch to ff_alloc_packet2()
Michael Niedermayer [Thu, 22 Mar 2012 03:22:33 +0000 (04:22 +0100)]
dvenc: switch to ff_alloc_packet2()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agodpxenc: switch to ff_alloc_packet2()
Michael Niedermayer [Thu, 22 Mar 2012 03:22:17 +0000 (04:22 +0100)]
dpxenc: switch to ff_alloc_packet2()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agodnxhdenc: switch to ff_alloc_packet2()
Michael Niedermayer [Thu, 22 Mar 2012 03:21:57 +0000 (04:21 +0100)]
dnxhdenc: switch to ff_alloc_packet2()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agocljrenc: switch to ff_alloc_packet2()
Michael Niedermayer [Thu, 22 Mar 2012 03:21:43 +0000 (04:21 +0100)]
cljrenc: switch to ff_alloc_packet2()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agobmpenc: switch to ff_alloc_packet2()
Michael Niedermayer [Thu, 22 Mar 2012 03:21:32 +0000 (04:21 +0100)]
bmpenc: switch to ff_alloc_packet2()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoalacenc: switch to ff_alloc_packet2()
Michael Niedermayer [Thu, 22 Mar 2012 03:21:13 +0000 (04:21 +0100)]
alacenc: switch to ff_alloc_packet2()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agosv1enc: switch to ff_alloc_packet2()
Michael Niedermayer [Thu, 22 Mar 2012 03:20:57 +0000 (04:20 +0100)]
sv1enc: switch to ff_alloc_packet2()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoadxenc: switch to ff_alloc_packet2()
Michael Niedermayer [Thu, 22 Mar 2012 03:20:20 +0000 (04:20 +0100)]
adxenc: switch to ff_alloc_packet2()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoadpcmenc: switch to ff_alloc_packet2()
Michael Niedermayer [Thu, 22 Mar 2012 03:20:07 +0000 (04:20 +0100)]
adpcmenc: switch to ff_alloc_packet2()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoaacenc: switch to ff_alloc_packet2()
Michael Niedermayer [Thu, 22 Mar 2012 03:19:52 +0000 (04:19 +0100)]
aacenc: switch to ff_alloc_packet2()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agolavc: add ff_alloc_packet2().
Michael Niedermayer [Thu, 22 Mar 2012 02:55:21 +0000 (03:55 +0100)]
lavc: add ff_alloc_packet2().

This contains a AVCodecContext thus allowing us to prevent the
error message duplication

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>