740b9ff44e
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 >
2012-03-22 19:03:48 +01:00
dca0e4cd61
avcodec_encode_audio2: use ff_alloc_packet2()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2012-03-22 19:03:23 +01:00
2bd303f95c
zmbvenc: switch to ff_alloc_packet2().
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2012-03-22 19:03:23 +01:00
ae7f0d0a4f
yuv4enc: switch to ff_alloc_packet2().
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2012-03-22 19:03:23 +01:00
7959eb0d12
y41penc: switch to ff_alloc_packet2().
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2012-03-22 19:03:22 +01:00
a3f36b09e7
xwdenc: switch to ff_alloc_packet2().
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2012-03-22 19:03:22 +01:00
5d8a20a1c5
xbmenc: switch to ff_alloc_packet2().
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2012-03-22 19:03:22 +01:00
6cb29a1ab0
wmaenc: switch to ff_alloc_packet2().
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2012-03-22 19:03:22 +01:00
2ed79755d7
vorbisenc: switch to ff_alloc_packet2().
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2012-03-22 19:03:22 +01:00
079d7246fb
v410enc: switch to ff_alloc_packet2().
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2012-03-22 19:03:22 +01:00
efc245b9d6
v408enc: switch to ff_alloc_packet2().
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2012-03-22 19:03:22 +01:00
f234b02c94
v308enc: switch to ff_alloc_packet2().
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2012-03-22 19:03:22 +01:00
e252fb822a
v210enc: switch to ff_alloc_packet2().
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2012-03-22 19:03:22 +01:00
219d8245a0
tiffenc: switch to ff_alloc_packet2().
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2012-03-22 19:03:22 +01:00
ea8fc91886
tiffenc: fix return value.
2012-03-22 19:03:22 +01:00
c038fb411b
targaenc: switch to ff_alloc_packet2().
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2012-03-22 19:03:22 +01:00
dbb11e7db3
svq1enc: switch to ff_alloc_packet2().
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2012-03-22 19:03:22 +01:00
2ea893fa23
sunrastenc: switch to ff_alloc_packet2().
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2012-03-22 19:03:22 +01:00
b911d7dc60
sgienc: switch to ff_alloc_packet2().
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2012-03-22 19:03:22 +01:00
c32438c42a
r210enc: switch to ff_alloc_packet2().
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2012-03-22 19:03:21 +01:00
78365b414b
qtrleenc: switch to ff_alloc_packet2().
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2012-03-22 19:03:21 +01:00
37e434e492
proresenc_kostya: switch to ff_alloc_packet2().
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2012-03-22 19:03:21 +01:00
d388dd9ee3
proresenc_anatoliy: switch to ff_alloc_packet2().
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2012-03-22 19:03:21 +01:00
6a74c48cf9
pnmenc: switch to ff_alloc_packet2().
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2012-03-22 19:03:21 +01:00
5c6c62543c
pngenc: switch to ff_alloc_packet2().
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2012-03-22 19:03:21 +01:00
d2c4b3754d
pcxenc: switch to ff_alloc_packet2().
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2012-03-22 19:03:21 +01:00
11e8f3e7a2
pcm: switch to ff_alloc_packet2().
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2012-03-22 19:03:21 +01:00
29971e4f9c
pamenc: switch to ff_alloc_packet2().
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2012-03-22 19:03:21 +01:00
93aafe2a39
nellymoserenc: switch to ff_alloc_packet2().
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2012-03-22 19:03:21 +01:00
6e3aee03b8
msvideo1enc: switch to ff_alloc_packet2().
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2012-03-22 19:03:21 +01:00
3998b13a34
mpegaudioenc: switch to ff_alloc_packet2().
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2012-03-22 19:03:21 +01:00
a895669f53
ljpegenc: switch to ff_alloc_packet2().
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2012-03-22 19:03:21 +01:00
fcd8a3c8c2
libxvidff: switch to ff_alloc_packet2().
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2012-03-22 19:03:21 +01:00
d29719121d
libxavs: switch to ff_alloc_packet2().
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2012-03-22 19:03:20 +01:00
660e8cb9e3
libx264: switch to ff_alloc_packet2().
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2012-03-22 19:03:20 +01:00
316defa93c
libvpxenc: switch to ff_alloc_packet2().
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2012-03-22 19:03:20 +01:00
9407cf137f
libvorbis: switch to ff_alloc_packet2().
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2012-03-22 19:03:20 +01:00
d9375b0ec6
libvo-amrwbenc: switch to ff_alloc_packet2().
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2012-03-22 19:03:20 +01:00
b7b2821f84
libvo-aacenc: switch to ff_alloc_packet2().
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2012-03-22 19:03:20 +01:00
b611ffc5d0
libtheoraenc: switch to ff_alloc_packet2().
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2012-03-22 19:03:20 +01:00
f3b10d38d7
libspeexenc: switch to ff_alloc_packet2().
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2012-03-22 19:03:20 +01:00
bb84112bae
libschroedingerenc: switch to ff_alloc_packet2().
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2012-03-22 19:03:20 +01:00
83fc7341a7
libopencore-amr: switch to ff_alloc_packet2().
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2012-03-22 19:03:20 +01:00
c7ef5a4aa9
libmp3lame: switch to ff_alloc_packet2().
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2012-03-22 19:03:20 +01:00
67b8c88cfe
libgsm: switch to ff_alloc_packet2().
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2012-03-22 19:03:20 +01:00
1308b2df44
libfaac: switch to ff_alloc_packet2().
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2012-03-22 19:03:20 +01:00
7d3ef3840b
ac3enc: switch to ff_alloc_packet2().
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2012-03-22 19:03:20 +01:00
55cc80dc29
a64multienc: switch to ff_alloc_packet2()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2012-03-22 19:03:20 +01:00
076310edee
snowenc: switch to ff_alloc_packet2()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2012-03-22 19:03:19 +01:00
6eaa31cb9b
roqaudioenc: switch to ff_alloc_packet2()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2012-03-22 19:03:19 +01:00