]> git.sesse.net Git - ffmpeg/log
ffmpeg
11 years agoMerge commit '4521645b1aee9e9ad8f5cea7b2392cd5f6ffcd26'
Michael Niedermayer [Sun, 28 Oct 2012 12:19:11 +0000 (13:19 +0100)]
Merge commit '4521645b1aee9e9ad8f5cea7b2392cd5f6ffcd26'

* commit '4521645b1aee9e9ad8f5cea7b2392cd5f6ffcd26':
  avio: fix pointer type mismatches in avio_enum_protocols()
  avserver: use socklen_t where appropriate
  udp: use socklen_t where appropriate
  network: use HAVE_THREADS instead of local hack
  af_channelmap: remove stray enum declaration
  buffersink: remove stray semicolon after function definition

Conflicts:
libavformat/avio.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agofate: make sure the global sws flags are set to be bitexact for scalenorm
Michael Niedermayer [Sun, 28 Oct 2012 12:05:35 +0000 (13:05 +0100)]
fate: make sure the global sws flags are set to be bitexact for scalenorm

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agofate: add a test for scale with variable input format.
Nicolas George [Thu, 25 Oct 2012 19:28:11 +0000 (21:28 +0200)]
fate: add a test for scale with variable input format.

11 years agolavfi/concat: implement unsafe mode.
Nicolas George [Thu, 25 Oct 2012 19:27:41 +0000 (21:27 +0200)]
lavfi/concat: implement unsafe mode.

11 years agolpc: check that lpc_type is valid in ff_lpc_calc_coefs
Michael Niedermayer [Sun, 28 Oct 2012 02:27:16 +0000 (03:27 +0100)]
lpc: check that lpc_type is valid in ff_lpc_calc_coefs

Fixes CID700759
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agosws: rgb has no range, avoid random results if the user tries to mess with it anyway.
Michael Niedermayer [Sun, 28 Oct 2012 00:46:56 +0000 (02:46 +0200)]
sws: rgb has no range, avoid random results if the user tries to mess with it anyway.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoswr: use 64bit index/len for x86_64 mix
Michael Niedermayer [Sun, 28 Oct 2012 00:09:08 +0000 (02:09 +0200)]
swr: use 64bit index/len for x86_64 mix

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agovf_showinfo: check return code of av_image_get_linesize()
Michael Niedermayer [Sat, 27 Oct 2012 22:40:28 +0000 (00:40 +0200)]
vf_showinfo: check return code of av_image_get_linesize()

Fixes CID703716
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoswfenc: zero fifo after freeing
Michael Niedermayer [Sat, 27 Oct 2012 21:02:17 +0000 (23:02 +0200)]
swfenc: zero fifo after freeing

Fixes CID602000
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agotak_parser: check ff_combine_frame() return code
Michael Niedermayer [Sat, 27 Oct 2012 20:45:51 +0000 (22:45 +0200)]
tak_parser: check ff_combine_frame() return code

Fixes CID733706
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agolavf/showspectrum: fix unaligned rdft data.
Clément Bœsch [Fri, 26 Oct 2012 16:42:54 +0000 (18:42 +0200)]
lavf/showspectrum: fix unaligned rdft data.

11 years agoriff: support 0xa100 TwoCC
Piotr Bandurski [Sat, 27 Oct 2012 19:32:40 +0000 (21:32 +0200)]
riff: support 0xa100 TwoCC

fixes decoding of file "4790b7f1c44f98e35f3b806468fa615f5930a5b3.wav" from ticket #1856
(0xa100 = Comverse Infosys Ltd. G723 1)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agomsmpeg4dec: fix init code to not fail when called from 2 threads at the same time.
Michael Niedermayer [Sat, 27 Oct 2012 19:30:01 +0000 (21:30 +0200)]
msmpeg4dec: fix init code to not fail when called from 2 threads at the same time.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoff_h263_decode_init_vlc: fix order of operations to avoid failure with 2 threads
Michael Niedermayer [Sat, 27 Oct 2012 19:28:59 +0000 (21:28 +0200)]
ff_h263_decode_init_vlc: fix order of operations to avoid failure with 2 threads

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoPort MPlayer fixes for coverity issues in libmpcodecs.
Reimar Döffinger [Fri, 26 Oct 2012 19:13:18 +0000 (21:13 +0200)]
Port MPlayer fixes for coverity issues in libmpcodecs.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
11 years agosws: loose the minimum dimension checks
Michael Niedermayer [Sat, 27 Oct 2012 14:54:31 +0000 (16:54 +0200)]
sws: loose the minimum dimension checks

A few quick tests show no fundamental problem with such diemnsions

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agosws: improve error messages
Michael Niedermayer [Sat, 27 Oct 2012 14:54:05 +0000 (16:54 +0200)]
sws: improve error messages

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agosws: fix extreem downscaling
Michael Niedermayer [Sat, 27 Oct 2012 14:26:39 +0000 (16:26 +0200)]
sws: fix extreem downscaling

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Sat, 27 Oct 2012 13:02:35 +0000 (15:02 +0200)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  configure: fix tests for 2-arg math functions
  doc: git-howto: Clarify comment about pushing series of commits
  ivi_common: Drop unused function parameter from decode_band()
  cook: Remove some silly Doxygen comments
  cook: Remove senseless maybe_reformat_buffer32() function
  cook: cosmetics: Better names for joint_decode() function parameters
  cook: cosmetics: Better name for ccpl COOKSubpacket member
  doxygen: Add av_alloc_size to list of predefined macros
  doxygen: Drop some pointless entries from PREDEFINED macros list
  h263: avoid memcpys over array bound in motion vector caching for obmc

Conflicts:
configure
doc/git-howto.texi
libavcodec/cook.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoavio: fix pointer type mismatches in avio_enum_protocols()
Mans Rullgard [Fri, 26 Oct 2012 17:42:29 +0000 (18:42 +0100)]
avio: fix pointer type mismatches in avio_enum_protocols()

Signed-off-by: Mans Rullgard <mans@mansr.com>
11 years agoavserver: use socklen_t where appropriate
Mans Rullgard [Fri, 26 Oct 2012 20:53:31 +0000 (21:53 +0100)]
avserver: use socklen_t where appropriate

Various socket functions expect a pointer to socklen_t which is not
necessarily int.

Signed-off-by: Mans Rullgard <mans@mansr.com>
11 years agoudp: use socklen_t where appropriate
Mans Rullgard [Fri, 26 Oct 2012 18:46:37 +0000 (19:46 +0100)]
udp: use socklen_t where appropriate

getsockname() takes a pointer to socklen_t which is not necessarily
int.

Signed-off-by: Mans Rullgard <mans@mansr.com>
11 years agonetwork: use HAVE_THREADS instead of local hack
Mans Rullgard [Fri, 26 Oct 2012 18:33:59 +0000 (19:33 +0100)]
network: use HAVE_THREADS instead of local hack

HAVE_THREADS is set in config.h if pthreads or w32threads is
available, which presumably the proper condition here.

Also fixes undefined behaviour in preprocessor directives.

Signed-off-by: Mans Rullgard <mans@mansr.com>
11 years agoaf_channelmap: remove stray enum declaration
Mans Rullgard [Fri, 26 Oct 2012 21:25:37 +0000 (22:25 +0100)]
af_channelmap: remove stray enum declaration

Signed-off-by: Mans Rullgard <mans@mansr.com>
11 years agobuffersink: remove stray semicolon after function definition
Mans Rullgard [Fri, 26 Oct 2012 16:58:19 +0000 (17:58 +0100)]
buffersink: remove stray semicolon after function definition

Signed-off-by: Mans Rullgard <mans@mansr.com>
11 years agofix a compiling error with llvm-gcc
Xidorn Quan [Fri, 26 Oct 2012 06:40:04 +0000 (14:40 +0800)]
fix a compiling error with llvm-gcc

Move some #include in vda.h down to prevent libavutil headers
from interfering with system headers

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoffmpeg: use av_rescale_delta() for audio stream copy
Michael Niedermayer [Sat, 27 Oct 2012 01:18:09 +0000 (03:18 +0200)]
ffmpeg: use av_rescale_delta() for audio stream copy

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agolavu: add more doxy to av_rescale_delta
Michael Niedermayer [Sat, 27 Oct 2012 00:58:09 +0000 (02:58 +0200)]
lavu: add more doxy to av_rescale_delta

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoUpdate my email address
Michael Bradshaw [Fri, 26 Oct 2012 19:57:41 +0000 (13:57 -0600)]
Update my email address

Signed-off-by: Michael Bradshaw <mjbshaw@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agosws_getGaussianVec: check variance and quality
Michael Niedermayer [Fri, 26 Oct 2012 23:19:53 +0000 (01:19 +0200)]
sws_getGaussianVec: check variance and quality

Found-by: Reimar
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agosws_allocVec: check length validity
Michael Niedermayer [Fri, 26 Oct 2012 23:18:52 +0000 (01:18 +0200)]
sws_allocVec: check length validity

Found-by: Reimar
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoffmpeg: use av_rescale_delta() on the audio filter input
Michael Niedermayer [Fri, 26 Oct 2012 19:55:37 +0000 (21:55 +0200)]
ffmpeg: use av_rescale_delta() on the audio filter input

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agolavu: add av_rescale_delta()
Michael Niedermayer [Fri, 26 Oct 2012 19:23:19 +0000 (21:23 +0200)]
lavu: add av_rescale_delta()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoffmpeg: trivial simplification
Michael Niedermayer [Fri, 26 Oct 2012 19:21:29 +0000 (21:21 +0200)]
ffmpeg: trivial simplification

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agomathemathics: update copyright years
Michael Niedermayer [Fri, 26 Oct 2012 17:46:41 +0000 (19:46 +0200)]
mathemathics: update copyright years

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agolavu: add av_clip64()
Michael Niedermayer [Fri, 26 Oct 2012 17:37:43 +0000 (19:37 +0200)]
lavu: add av_clip64()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoconfigure: fix tests for 2-arg math functions
Mans Rullgard [Fri, 26 Oct 2012 13:42:47 +0000 (14:42 +0100)]
configure: fix tests for 2-arg math functions

Signed-off-by: Mans Rullgard <mans@mansr.com>
11 years agolavf/srtenc: allow zero duration events.
Clément Bœsch [Wed, 24 Oct 2012 22:26:13 +0000 (00:26 +0200)]
lavf/srtenc: allow zero duration events.

This is useful when you want to remux events with zero (or too small)
durations.

11 years agolavc/srtenc: fix invalid read in case of SubRip.
Clément Bœsch [Thu, 25 Oct 2012 16:50:26 +0000 (18:50 +0200)]
lavc/srtenc: fix invalid read in case of SubRip.

Regression since 6057de19b. The ptr-2 is used to eat the \r\n and add
the position information on the timing line. This can't be done in case
of SubRip where the timing isn't present in the payload.

Note that we can't use yet the side data to transmit the position
information since the encode subtitles API is still using buffer+size
instead AVPacket as input.

11 years agodoc: git-howto: Clarify comment about pushing series of commits
Diego Biurrun [Thu, 25 Oct 2012 16:25:25 +0000 (18:25 +0200)]
doc: git-howto: Clarify comment about pushing series of commits

11 years agoivi_common: Drop unused function parameter from decode_band()
Diego Biurrun [Wed, 24 Oct 2012 09:54:03 +0000 (11:54 +0200)]
ivi_common: Drop unused function parameter from decode_band()

11 years agocook: Remove some silly Doxygen comments
Diego Biurrun [Wed, 24 Oct 2012 17:00:33 +0000 (19:00 +0200)]
cook: Remove some silly Doxygen comments

11 years agocook: Remove senseless maybe_reformat_buffer32() function
Diego Biurrun [Wed, 24 Oct 2012 14:03:31 +0000 (16:03 +0200)]
cook: Remove senseless maybe_reformat_buffer32() function

11 years agocook: cosmetics: Better names for joint_decode() function parameters
Diego Biurrun [Tue, 23 Oct 2012 23:08:19 +0000 (01:08 +0200)]
cook: cosmetics: Better names for joint_decode() function parameters

11 years agocook: cosmetics: Better name for ccpl COOKSubpacket member
Diego Biurrun [Tue, 23 Oct 2012 23:05:04 +0000 (01:05 +0200)]
cook: cosmetics: Better name for ccpl COOKSubpacket member

11 years agodoxygen: Add av_alloc_size to list of predefined macros
Diego Biurrun [Mon, 22 Oct 2012 14:16:07 +0000 (16:16 +0200)]
doxygen: Add av_alloc_size to list of predefined macros

This avoids Doxygen believing the attribute is the function name.

11 years agodoxygen: Drop some pointless entries from PREDEFINED macros list
Diego Biurrun [Tue, 23 Oct 2012 19:12:48 +0000 (21:12 +0200)]
doxygen: Drop some pointless entries from PREDEFINED macros list

11 years agocws2fws: check fstat return code.
Michael Niedermayer [Fri, 26 Oct 2012 15:57:42 +0000 (17:57 +0200)]
cws2fws: check fstat return code.

Fixes CID733720
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agocws2fws: check lseek() return
Michael Niedermayer [Fri, 26 Oct 2012 15:30:15 +0000 (17:30 +0200)]
cws2fws: check lseek() return

Fixes: CID733721
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agocws2fws: check inflateInit return value
Michael Niedermayer [Fri, 26 Oct 2012 15:27:53 +0000 (17:27 +0200)]
cws2fws: check inflateInit return value

Fixes CID733722
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoh263: avoid memcpys over array bound in motion vector caching for obmc
Janne Grunau [Wed, 10 Oct 2012 12:25:44 +0000 (14:25 +0200)]
h263: avoid memcpys over array bound in motion vector caching for obmc

Fixes CID602232.

11 years agobit: check av_new_packet() return value
Paul B Mahol [Fri, 26 Oct 2012 15:31:00 +0000 (15:31 +0000)]
bit: check av_new_packet() return value

Fixes CID703626.

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agoexamples: fix doxy so they appear on the example page
Michael Niedermayer [Fri, 26 Oct 2012 14:32:32 +0000 (16:32 +0200)]
examples: fix doxy so they appear on the example page

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agormdec: fix null derefercne
Michael Niedermayer [Fri, 26 Oct 2012 14:18:09 +0000 (16:18 +0200)]
rmdec: fix null derefercne

Fixes CID733714
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agormdec: use av_assert for audio_pkt_cnt
Michael Niedermayer [Fri, 26 Oct 2012 14:04:30 +0000 (16:04 +0200)]
rmdec: use av_assert for audio_pkt_cnt

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Fri, 26 Oct 2012 12:55:15 +0000 (14:55 +0200)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  configure: sanitise sparc vis check
  configure: recognise more sparc variants as --cpu argument
  build: Include HEADERS-yes in the HEADERS variable
  pcm: change references to raw to pcm
  ffv1: set the range coder state in decode_slice_header
  pcmdec: change default of channels parameter to 1

Conflicts:
libavformat/pcmdec.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoconfigure: sanitise sparc vis check
Mans Rullgard [Thu, 25 Oct 2012 14:56:16 +0000 (15:56 +0100)]
configure: sanitise sparc vis check

It is wrong to force -mcpu=ultrasparc when checking for vis.

Signed-off-by: Mans Rullgard <mans@mansr.com>
11 years agoconfigure: recognise more sparc variants as --cpu argument
Michael Kostylev [Thu, 25 Oct 2012 10:38:51 +0000 (11:38 +0100)]
configure: recognise more sparc variants as --cpu argument

Signed-off-by: Mans Rullgard <mans@mansr.com>
11 years agocaf muxer: write metadata
Paul B Mahol [Thu, 25 Oct 2012 23:33:34 +0000 (23:33 +0000)]
caf muxer: write metadata

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agoMerge commit '1b891d17c531e8a63c2974aab4bf997ce70746f3'
Michael Niedermayer [Fri, 26 Oct 2012 12:07:04 +0000 (14:07 +0200)]
Merge commit '1b891d17c531e8a63c2974aab4bf997ce70746f3'

* commit '1b891d17c531e8a63c2974aab4bf997ce70746f3':
  avconv: fix bitrate report when writing to /dev/null
  avfilter: fix graphparser memleaks on error paths
  rawdec: remove ff_raw_read_header
  pcmdec: remove dependency from rawdec
  g722: refactor out of rawdec.c
  rawvideo: use a specific read_header

Conflicts:
ffmpeg.c
libavformat/Makefile
libavformat/rawdec.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoaacps: fix order of operands of ipdopd_reset().
Michael Niedermayer [Fri, 26 Oct 2012 00:18:31 +0000 (02:18 +0200)]
aacps: fix order of operands of ipdopd_reset().

With the current implementation this is purely cosmetic

Fixes CID732285
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoaacps: loose self assignment
Michael Niedermayer [Fri, 26 Oct 2012 00:15:43 +0000 (02:15 +0200)]
aacps: loose self assignment

Fixes CID604123
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoaacenc: replace scale factor warning by assert
Michael Niedermayer [Fri, 26 Oct 2012 00:11:20 +0000 (02:11 +0200)]
aacenc: replace scale factor warning by assert

The code would crash after printing the warning

Fixes CID717903, CID717904
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoaiffdec: read ID3 attached pictures
Matthieu Bouron [Thu, 25 Oct 2012 20:45:33 +0000 (22:45 +0200)]
aiffdec: read ID3 attached pictures

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agocafenc: make .long_name match demuxer
Paul B Mahol [Thu, 25 Oct 2012 23:04:13 +0000 (23:04 +0000)]
cafenc: make .long_name match demuxer

While here reindent .codec_tag .

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agotools: add ffescape utility
Stefano Sabatini [Mon, 15 Oct 2012 10:17:15 +0000 (12:17 +0200)]
tools: add ffescape utility

11 years agofraps: use meaningful error codes
Paul B Mahol [Thu, 25 Oct 2012 19:47:54 +0000 (19:47 +0000)]
fraps: use meaningful error codes

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agolvfdec: cosmetics: fix identation
Paul B Mahol [Thu, 25 Oct 2012 20:56:20 +0000 (20:56 +0000)]
lvfdec: cosmetics: fix identation

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agolavfi/showspectrum: add sliding mode.
Clément Bœsch [Sun, 21 Oct 2012 19:01:18 +0000 (21:01 +0200)]
lavfi/showspectrum: add sliding mode.

11 years agolavd/lavfi: fix leak in case of failure
Stefano Sabatini [Thu, 25 Oct 2012 19:33:45 +0000 (21:33 +0200)]
lavd/lavfi: fix leak in case of failure

Jump to the common release code in case of failure.

11 years agolavfi/af_volumedetect: print stats in uninit().
Nicolas George [Wed, 17 Oct 2012 17:42:20 +0000 (19:42 +0200)]
lavfi/af_volumedetect: print stats in uninit().

If the stats are printed when request_frame on the input
returns EOF, then they are never printed if the filter is
not flushed, in particular when using the -t ffmpeg option.

Fix trac ticket #1727.

11 years agoRestore installation of libavutil/lzo.h after 2a91ada8282f18d2807abee5188225bba1b19bda
Alexis Ballier [Thu, 25 Oct 2012 12:54:45 +0000 (09:54 -0300)]
Restore installation of libavutil/lzo.h after 2a91ada8282f18d2807abee5188225bba1b19bda

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agolavfi/vf_fps: allow to set the rounding method.
Nicolas George [Thu, 25 Oct 2012 15:58:08 +0000 (17:58 +0200)]
lavfi/vf_fps: allow to set the rounding method.

By default, fps selects frames near PTS 0, 0.5, 1.5, 2.5, etc.
With round=down, it selects the frames near PTS 0, 1, 2, 3, etc.

11 years agoffserver: fix printf argument type
Martin Ettl [Thu, 25 Oct 2012 16:34:32 +0000 (16:34 +0000)]
ffserver: fix printf argument type

11 years agobuild: Include HEADERS-yes in the HEADERS variable
Martin Storsjö [Thu, 25 Oct 2012 14:13:06 +0000 (17:13 +0300)]
build: Include HEADERS-yes in the HEADERS variable

This makes sure the previously always installed public header
lzo.h is installed if the LZO functionality is enabled.

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agopcm: change references to raw to pcm
Luca Barbato [Mon, 1 Jan 2001 00:08:20 +0000 (01:08 +0100)]
pcm: change references to raw to pcm

11 years agodsicinav: return proper error code in case of malloc failure
Paul B Mahol [Thu, 25 Oct 2012 13:46:19 +0000 (13:46 +0000)]
dsicinav: return proper error code in case of malloc failure

Fixes null pointer dereference.

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agodsicinav: return meaningful error code
Paul B Mahol [Thu, 25 Oct 2012 12:59:34 +0000 (12:59 +0000)]
dsicinav: return meaningful error code

While here remove redundant references in error message.

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agoavconv: fix bitrate report when writing to /dev/null
Janne Grunau [Tue, 9 Oct 2012 21:22:49 +0000 (23:22 +0200)]
avconv: fix bitrate report when writing to /dev/null

avio_size() reports the filesize which returns 0 for /dev/null.
avio_tell() reports the current position.

Also handle errors from avio_tell().

11 years agoavfilter: fix graphparser memleaks on error paths
Janne Grunau [Tue, 9 Oct 2012 19:28:32 +0000 (21:28 +0200)]
avfilter: fix graphparser memleaks on error paths

Fixes CID700635, CID700636 and CID732274.

11 years agorawdec: remove ff_raw_read_header
Luca Barbato [Wed, 24 Oct 2012 17:53:32 +0000 (19:53 +0200)]
rawdec: remove ff_raw_read_header

It is not used anymore and is a kludge.

11 years agopcmdec: remove dependency from rawdec
Luca Barbato [Wed, 24 Oct 2012 17:15:50 +0000 (19:15 +0200)]
pcmdec: remove dependency from rawdec

The code shared is not actually shared with anything else.

11 years agog722: refactor out of rawdec.c
Luca Barbato [Wed, 24 Oct 2012 16:18:18 +0000 (18:18 +0200)]
g722: refactor out of rawdec.c

11 years agorawvideo: use a specific read_header
Luca Barbato [Wed, 24 Oct 2012 12:18:49 +0000 (14:18 +0200)]
rawvideo: use a specific read_header

ff_raw_read_header is used only for this demuxer for video.

11 years agomxfenc: Write MultipleDescriptor ref in Preface
Tomas Härdin [Thu, 25 Oct 2012 08:23:59 +0000 (10:23 +0200)]
mxfenc: Write MultipleDescriptor ref in Preface

Reviewed-by: Matthieu Bouron <matthieu.bouron@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoaacdec: reorder multiuplications to make code safer against too large input values.
Michael Niedermayer [Thu, 25 Oct 2012 11:42:02 +0000 (13:42 +0200)]
aacdec: reorder multiuplications to make code safer against too large input values.

Fixes CID700697
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Thu, 25 Oct 2012 11:15:58 +0000 (13:15 +0200)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  avutil: Make LZO decoder code configure-time selectable
  avutil: Move memcpy_backptr() to mem.c
  configure: detect parisc64 automatically
  configure: detect ppc64 automatically
  configure: detect mips64 automatically
  configure: generalise 64-bit test
  smoothstreamingenc: Don't assume streams start from timestamp 0

Conflicts:
configure
libavutil/Makefile
libavutil/lzo.c
libavutil/lzo.h
libavutil/mem.c
libavutil/mem.h

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoavutil: Make LZO decoder code configure-time selectable
Diego Biurrun [Thu, 18 Oct 2012 17:48:27 +0000 (19:48 +0200)]
avutil: Make LZO decoder code configure-time selectable

11 years agoavutil: Move memcpy_backptr() to mem.c
Diego Biurrun [Thu, 18 Oct 2012 17:27:51 +0000 (19:27 +0200)]
avutil: Move memcpy_backptr() to mem.c

The function is used elsewhere and does not belong with the LZO code.

11 years agompegvideo: fix lowres on field pictures
Michael Niedermayer [Thu, 25 Oct 2012 02:03:58 +0000 (04:03 +0200)]
mpegvideo: fix lowres on field pictures

Fixes Ticket1846

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agofate: reenable some recently lost audio tests
Michael Niedermayer [Thu, 25 Oct 2012 01:13:32 +0000 (03:13 +0200)]
fate: reenable some recently lost audio tests

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoffmpeg: fix null ptr deref in psnr printing code
Michael Niedermayer [Wed, 24 Oct 2012 23:16:34 +0000 (01:16 +0200)]
ffmpeg: fix null ptr deref in psnr printing code

Fixes CID205005
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoroqaudioenc: remove dead code
Michael Niedermayer [Wed, 24 Oct 2012 23:01:17 +0000 (01:01 +0200)]
roqaudioenc: remove dead code

Fixes CID703669
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoqt-faststart: check return of ftello()
Michael Niedermayer [Wed, 24 Oct 2012 22:39:33 +0000 (00:39 +0200)]
qt-faststart: check return of ftello()

Fixes CID739863
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoasfdec: fixed signedness in comparission
Michael Niedermayer [Wed, 24 Oct 2012 22:35:55 +0000 (00:35 +0200)]
asfdec: fixed signedness in comparission

Fixes CID739864
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agocmdutils: fix unclosed file on error
Michael Niedermayer [Wed, 24 Oct 2012 22:32:34 +0000 (00:32 +0200)]
cmdutils: fix unclosed file on error

Fixes CID739865
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agomov_probe: use correct variable
Michael Niedermayer [Wed, 24 Oct 2012 22:23:29 +0000 (00:23 +0200)]
mov_probe: use correct variable

Fixes CID739867
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agocmdutils: remove writes in never read variable
Michael Niedermayer [Wed, 24 Oct 2012 22:19:59 +0000 (00:19 +0200)]
cmdutils: remove writes in never read variable

Fixes CID739868
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agolavf/srtenc: set codec to subrip by default.
Clément Bœsch [Sun, 21 Oct 2012 01:12:04 +0000 (03:12 +0200)]
lavf/srtenc: set codec to subrip by default.

We don't have a text encoder yet, so this commit makes automatic
encoding working with srt output.

11 years agolavf/srtenc: simplify timing printing.
Clément Bœsch [Sun, 21 Oct 2012 00:49:01 +0000 (02:49 +0200)]
lavf/srtenc: simplify timing printing.