ffmpeg.git
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>
7 years agoavcodec_encode_audio2: add missing padding to realloc()
Michael Niedermayer [Thu, 22 Mar 2012 01:17:32 +0000 (02:17 +0100)]
avcodec_encode_audio2: add missing padding to realloc()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoudp: lock all operations on shared variables.
Nicolas George [Thu, 15 Mar 2012 12:35:27 +0000 (13:35 +0100)]
udp: lock all operations on shared variables.

7 years agoudp: return the error code instead of generic EIO.
Nicolas George [Thu, 15 Mar 2012 12:42:34 +0000 (13:42 +0100)]
udp: return the error code instead of generic EIO.

7 years agoudp: call av_fifo_space directly as needed.
Nicolas George [Thu, 15 Mar 2012 12:11:06 +0000 (13:11 +0100)]
udp: call av_fifo_space directly as needed.

The comment seemed to indicate that left was used
to limit the size of the recv, but it was not so.

7 years agoudp: use non-blocking read instead of select.
Nicolas George [Thu, 15 Mar 2012 12:07:10 +0000 (13:07 +0100)]
udp: use non-blocking read instead of select.

7 years agoudp: use pthread_cancel instead of a shared flag.
Nicolas George [Thu, 15 Mar 2012 12:03:38 +0000 (13:03 +0100)]
udp: use pthread_cancel instead of a shared flag.

It allows to exit the thread immediately instead of waiting
for select to timeout (one second in the current code).

7 years agosegment: fix null pointer dereference
Paul B Mahol [Thu, 22 Mar 2012 03:36:25 +0000 (03:36 +0000)]
segment: fix null pointer dereference

Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agodvbsub: remove unused variable
Paul B Mahol [Thu, 22 Mar 2012 03:36:26 +0000 (03:36 +0000)]
dvbsub: remove unused variable

Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agobbox: remove superfluous initializations
Paul B Mahol [Thu, 22 Mar 2012 03:36:28 +0000 (03:36 +0000)]
bbox: remove superfluous initializations

Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoflicvideo: remove dead store
Paul B Mahol [Thu, 22 Mar 2012 03:36:31 +0000 (03:36 +0000)]
flicvideo: remove dead store

Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agolatm_parser: remove dead store
Paul B Mahol [Thu, 22 Mar 2012 03:36:29 +0000 (03:36 +0000)]
latm_parser: remove dead store

Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agosunrastenc: remove dead store
Paul B Mahol [Thu, 22 Mar 2012 03:36:27 +0000 (03:36 +0000)]
sunrastenc: remove dead store

Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agomjpegbdec: remove dead store
Paul B Mahol [Thu, 22 Mar 2012 03:36:30 +0000 (03:36 +0000)]
mjpegbdec: remove dead store

Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agovqavideo: remove some superfluous " VQA video: "
Paul B Mahol [Thu, 22 Mar 2012 03:44:13 +0000 (03:44 +0000)]
vqavideo: remove some superfluous " VQA video: "

Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoelectronicarts vp6: set duration of video stream
Paul B Mahol [Wed, 21 Mar 2012 23:17:05 +0000 (23:17 +0000)]
electronicarts vp6: set duration of video stream

Signed-off-by: Paul B Mahol <onemda@gmail.com>
Reviewed-by: Peter Ross <pross@xvid.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agodoc/examples/decoding_encoding: make the buffer bigger.
Michael Niedermayer [Thu, 22 Mar 2012 03:47:03 +0000 (04:47 +0100)]
doc/examples/decoding_encoding: make the buffer bigger.

This should be converted to the new API

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoMerge remote-tracking branch 'cus/stable'
Michael Niedermayer [Thu, 22 Mar 2012 04:24:50 +0000 (05:24 +0100)]
Merge remote-tracking branch 'cus/stable'

* cus/stable:
  ffplay: use frame count based queueing for audio queue
  ffplay: reset audio_pkt_temp when opening audio

Merged-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Wed, 21 Mar 2012 22:47:44 +0000 (23:47 +0100)]
Merge remote-tracking branch 'qatar/master'

* qatar/master: (26 commits)
  adxenc: use AVCodec.encode2()
  adxenc: Use the AVFrame in ADXContext for coded_frame
  indeo4: fix out-of-bounds function call.
  configure: Restructure help output.
  configure: Internal-only components should not be command-line selectable.
  vorbisenc: use AVCodec.encode2()
  libvorbis: use AVCodec.encode2()
  libopencore-amrnbenc: use AVCodec.encode2()
  ra144enc: use AVCodec.encode2()
  nellymoserenc: use AVCodec.encode2()
  roqaudioenc: use AVCodec.encode2()
  libspeex: use AVCodec.encode2()
  libvo_amrwbenc: use AVCodec.encode2()
  libvo_aacenc: use AVCodec.encode2()
  wmaenc: use AVCodec.encode2()
  mpegaudioenc: use AVCodec.encode2()
  libmp3lame: use AVCodec.encode2()
  libgsmenc: use AVCodec.encode2()
  libfaac: use AVCodec.encode2()
  g726enc: use AVCodec.encode2()
  ...

Conflicts:
configure
libavcodec/Makefile
libavcodec/ac3enc.c
libavcodec/adxenc.c
libavcodec/libgsm.c
libavcodec/libvorbis.c
libavcodec/vorbisenc.c
libavcodec/wmaenc.c
tests/ref/acodec/g722
tests/ref/lavf/asf
tests/ref/lavf/ffm
tests/ref/lavf/mkv
tests/ref/lavf/mpg
tests/ref/lavf/rm
tests/ref/lavf/ts
tests/ref/seek/lavf_asf
tests/ref/seek/lavf_ffm
tests/ref/seek/lavf_mkv
tests/ref/seek/lavf_mpg
tests/ref/seek/lavf_rm
tests/ref/seek/lavf_ts

Merged-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoh264_mp4toannexb_bsf: use i instead of misusing unit_type.
Michael Niedermayer [Wed, 21 Mar 2012 21:33:28 +0000 (22:33 +0100)]
h264_mp4toannexb_bsf: use i instead of misusing unit_type.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoFix type and codetype fields in the MMF header for some phones.
Vidar Madsen [Wed, 21 Mar 2012 21:11:25 +0000 (22:11 +0100)]
Fix type and codetype fields in the MMF header for some phones.

7 years agoFix libspeex decoding.
Carl Eugen Hoyos [Wed, 21 Mar 2012 20:43:19 +0000 (21:43 +0100)]
Fix libspeex decoding.

This parly reverts 85469f.
Fixes ticket #1091.

7 years agoh264_mp4toannexb_bsf: support 24bit lengths
gs_gail [Wed, 21 Mar 2012 20:35:37 +0000 (21:35 +0100)]
h264_mp4toannexb_bsf: support 24bit lengths

7 years agoPrint a warning when using wild guesses as time stamps.
Reimar Döffinger [Sun, 22 Jan 2012 13:12:22 +0000 (14:12 +0100)]
Print a warning when using wild guesses as time stamps.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
7 years agoReplace SSE2 instruction by SSE equivalent.
Reimar Döffinger [Wed, 21 Mar 2012 19:12:51 +0000 (20:12 +0100)]
Replace SSE2 instruction by SSE equivalent.

This is even potentially faster in this use-case.
Should fix AAC SBR decoding on machines with SSE but not
SSE2, fixing track issue #1041.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
7 years agoadxenc: use AVCodec.encode2()
Justin Ruggles [Wed, 21 Mar 2012 17:58:09 +0000 (13:58 -0400)]
adxenc: use AVCodec.encode2()

7 years agoadxenc: Use the AVFrame in ADXContext for coded_frame
Justin Ruggles [Wed, 21 Mar 2012 17:30:37 +0000 (13:30 -0400)]
adxenc: Use the AVFrame in ADXContext for coded_frame

7 years agopixdesc: put components always in the same order.
Nicolas George [Sun, 18 Mar 2012 08:57:02 +0000 (09:57 +0100)]
pixdesc: put components always in the same order.

7 years agoindeo4: fix out-of-bounds function call.
Ronald S. Bultje [Wed, 21 Mar 2012 17:39:10 +0000 (10:39 -0700)]
indeo4: fix out-of-bounds function call.

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
7 years agoconfigure: Restructure help output.
Diego Biurrun [Thu, 8 Mar 2012 23:24:48 +0000 (00:24 +0100)]
configure: Restructure help output.

Break some of the longer sections into smaller sensible pieces;
make some option descriptions and option ordering more consistent.

7 years agoconfigure: Internal-only components should not be command-line selectable.
Diego Biurrun [Thu, 8 Mar 2012 22:53:57 +0000 (23:53 +0100)]
configure: Internal-only components should not be command-line selectable.

7 years agowestwood_vqa: set video stream duration
Paul B Mahol [Wed, 21 Mar 2012 00:04:50 +0000 (00:04 +0000)]
westwood_vqa: set video stream duration

Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agowestwood_vqa: fix SND0 chunk handling
Paul B Mahol [Wed, 21 Mar 2012 00:04:49 +0000 (00:04 +0000)]
westwood_vqa: fix SND0 chunk handling

Version from vqa header does not dictate which sound chunks may
appear in file.

Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoaiffdec: Fix SIGFPE on pcm_f32be
Tomas Härdin [Wed, 21 Mar 2012 12:05:34 +0000 (13:05 +0100)]
aiffdec: Fix SIGFPE on pcm_f32be

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