ffmpeg.git
6 years agoMerge commit '5c1d7246cd65dc4db1b6dc36e29ce39fc1068f3f'
Michael Niedermayer [Sun, 11 May 2014 21:28:40 +0000 (23:28 +0200)]
Merge commit '5c1d7246cd65dc4db1b6dc36e29ce39fc1068f3f'

* commit '5c1d7246cd65dc4db1b6dc36e29ce39fc1068f3f':
  lavc: set AVCodecContext.hwaccel in ff_get_format()

Conflicts:
libavcodec/mpeg12dec.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoMerge commit '632ad2248e2e5d8cd4b51e6c87c943a38c3da425'
Michael Niedermayer [Sun, 11 May 2014 19:48:32 +0000 (21:48 +0200)]
Merge commit '632ad2248e2e5d8cd4b51e6c87c943a38c3da425'

* commit '632ad2248e2e5d8cd4b51e6c87c943a38c3da425':
  lavc: Add an internal wrapper around get_format()

Conflicts:
libavcodec/h264_slice.c
libavcodec/mpeg12dec.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoavcodec/dct: use av_malloc_array()
Michael Niedermayer [Sun, 11 May 2014 18:06:45 +0000 (20:06 +0200)]
avcodec/dct: use av_malloc_array()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoavcodec/cinepakenc: use av_malloc_array()
Michael Niedermayer [Sun, 11 May 2014 18:06:28 +0000 (20:06 +0200)]
avcodec/cinepakenc: use av_malloc_array()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agolavc: set AVCodecContext.hwaccel in ff_get_format()
Anton Khirnov [Thu, 6 Mar 2014 17:01:05 +0000 (18:01 +0100)]
lavc: set AVCodecContext.hwaccel in ff_get_format()

This way each decoder does not have to do the same thing manually.

6 years agolavc: Add an internal wrapper around get_format()
Anton Khirnov [Thu, 6 Mar 2014 16:48:18 +0000 (17:48 +0100)]
lavc: Add an internal wrapper around get_format()

It will be useful in the following commits.

6 years agoconfigure: Fix floating point conformance ith icl.
Matt Oliver [Sun, 11 May 2014 05:07:13 +0000 (15:07 +1000)]
configure: Fix floating point conformance ith icl.

Reviewed-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agolavc/on2avc: silent warnings about const params
Lukasz Marek [Sun, 11 May 2014 04:21:25 +0000 (06:21 +0200)]
lavc/on2avc: silent warnings about const params

Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoavformat/mpegtsenc: fix minor typo in omit_video_pes_length description
Aman Gupta [Sat, 10 May 2014 23:38:31 +0000 (16:38 -0700)]
avformat/mpegtsenc: fix minor typo in omit_video_pes_length description

Signed-off-by: Aman Gupta <ffmpeg@tmm1.net>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agolibmpcodecs/vf_uspp: check avcodec_open() return code
michael [Sat, 10 May 2014 23:48:24 +0000 (23:48 +0000)]
libmpcodecs/vf_uspp: check avcodec_open() return code

Fixes CID1135747

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoffserver: don't leak poll_table if poll fails
Reynaldo H. Verdejo Pinochet [Sat, 10 May 2014 22:16:19 +0000 (18:16 -0400)]
ffserver: don't leak poll_table if poll fails

Should fix Coverity Scan issue #732265

Signed-off-by: Reynaldo H. Verdejo Pinochet <r.verdejo@sisa.samsung.com>
6 years agoAdd missing "const" to pointer arrays.
Reimar Döffinger [Sat, 26 Apr 2014 11:11:31 +0000 (13:11 +0200)]
Add missing "const" to pointer arrays.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
6 years agoavfilter/vf_removelogo: fix memleak on failure
Michael Niedermayer [Sat, 10 May 2014 19:29:24 +0000 (21:29 +0200)]
avfilter/vf_removelogo: fix memleak on failure

Fixes CID751770

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agohevcdsp: include stddef.h for ptrdiff_t definition
James Almer [Sat, 10 May 2014 16:21:28 +0000 (13:21 -0300)]
hevcdsp: include stddef.h for ptrdiff_t definition

Including stdint.h was enough for systems like Mingw, but apparently not for Linux.
This should fix make checkheaders failures on every platform

Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoopencl: Make init_mtx static with volatile lock
Matt Oliver [Sat, 10 May 2014 11:00:32 +0000 (21:00 +1000)]
opencl: Make init_mtx static with volatile lock

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agohevcdsp: add missing header include
James Almer [Sat, 10 May 2014 02:57:25 +0000 (23:57 -0300)]
hevcdsp: add missing header include

Fixes make checkheaders

Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoavfilter/vf_lut3d: check size in parse_dat()
Michael Niedermayer [Sat, 10 May 2014 02:25:43 +0000 (04:25 +0200)]
avfilter/vf_lut3d: check size in parse_dat()

Fixes CID1212261
Reviewed-by: Clément Bœsch <u@pkh.me>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoavformat/movenc: Check ff_put_wav_header() return code
Michael Niedermayer [Sat, 10 May 2014 01:36:04 +0000 (03:36 +0200)]
avformat/movenc: Check ff_put_wav_header() return code

Fixes CID1212260
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoDocument smoothstreaming muxer
Andrey Utkin [Thu, 8 May 2014 20:50:35 +0000 (23:50 +0300)]
Document smoothstreaming muxer

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoavcodec: better level/index printing
Matthew Lindner [Fri, 9 May 2014 19:24:05 +0000 (15:24 -0400)]
avcodec: better level/index printing

6 years agoavcodec: replace uses of deprecated avcodec_set_dimensions()
Michael Niedermayer [Fri, 9 May 2014 17:41:05 +0000 (19:41 +0200)]
avcodec: replace uses of deprecated avcodec_set_dimensions()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agolibmpcodecs: Fix compilation due to missing static in suncc.
Matt Oliver [Fri, 9 May 2014 05:19:35 +0000 (15:19 +1000)]
libmpcodecs: Fix compilation due to missing static in suncc.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoMerge commit '9880a0d4b131ef36694d62f78060350a81f08b80'
Michael Niedermayer [Fri, 9 May 2014 14:43:10 +0000 (16:43 +0200)]
Merge commit '9880a0d4b131ef36694d62f78060350a81f08b80'

* commit '9880a0d4b131ef36694d62f78060350a81f08b80':
  pcm-dvd: Fix 20bit decoding

See: 5db49fc38d9132e134de92584f296559bec3b789
Merged-by: Michael Niedermayer <michaelni@gmx.at>
6 years agopcm-dvd: Fix 20bit decoding
nu774 [Fri, 9 May 2014 12:47:41 +0000 (21:47 +0900)]
pcm-dvd: Fix 20bit decoding

Increment the pointer as needed.

Bug-Id: 592

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
6 years agortpdec: make the NTP time values unsigned.
Diego Elio 'Flameeyes' Pettenò [Wed, 14 Jul 2010 07:51:10 +0000 (09:51 +0200)]
rtpdec: make the NTP time values unsigned.

As per RFC3550, section 4, the NTP time is provided as 64-bit unsigned
integer, so follow the same logic here.

Reviewed-by: Luca Barbato <lu_zero@gentoo.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoconfigure: check for recent dxva2api headers with fixed COBJMACROS defines
Hendrik Leppkes [Fri, 9 May 2014 11:53:52 +0000 (13:53 +0200)]
configure: check for recent dxva2api headers with fixed COBJMACROS defines

This fixes build failures on older mingw chains (before 2012).

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoavcodec/hevc: Fix undefined shifts
Michael Niedermayer [Fri, 9 May 2014 11:34:12 +0000 (13:34 +0200)]
avcodec/hevc: Fix undefined shifts

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoavcodec/mpegaudiodec_template: make shift unsigned to avoid undefined behavior
Michael Niedermayer [Fri, 9 May 2014 10:45:17 +0000 (12:45 +0200)]
avcodec/mpegaudiodec_template: make shift unsigned to avoid undefined behavior

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoavcodec/x86/hevcdsp_init: fix build failure with --disable-mmx
Michael Niedermayer [Fri, 9 May 2014 03:16:27 +0000 (05:16 +0200)]
avcodec/x86/hevcdsp_init: fix build failure with --disable-mmx

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoavcodec/mpeg4videodec: print run/level/index values
Michael Niedermayer [Thu, 8 May 2014 23:29:57 +0000 (01:29 +0200)]
avcodec/mpeg4videodec: print run/level/index values

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoavcodec: include GET_RL_VLC() in trace output
Michael Niedermayer [Thu, 8 May 2014 23:28:24 +0000 (01:28 +0200)]
avcodec: include GET_RL_VLC() in trace output

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agohvcodec/x86/hevcdsp: make macros more modular to support functions that are not sse4
plepere [Wed, 7 May 2014 07:58:34 +0000 (09:58 +0200)]
hvcodec/x86/hevcdsp: make macros more modular to support functions that are not sse4

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoavfilter/phase: make the main loop readable.
Clément Bœsch [Thu, 8 May 2014 21:48:55 +0000 (23:48 +0200)]
avfilter/phase: make the main loop readable.

6 years agoavfilter/phase: add some constness for RO data pointers.
Clément Bœsch [Sat, 3 May 2014 20:52:28 +0000 (22:52 +0200)]
avfilter/phase: add some constness for RO data pointers.

6 years agoavfilter/phase: add timeline support.
Clément Bœsch [Sat, 3 May 2014 20:43:20 +0000 (22:43 +0200)]
avfilter/phase: add timeline support.

6 years agoavfilter/phase: avoid a memcpy per frame.
Clément Bœsch [Sat, 3 May 2014 20:42:54 +0000 (22:42 +0200)]
avfilter/phase: avoid a memcpy per frame.

6 years agoavfilter/phase: do not pass the whole context to analyze_plane().
Clément Bœsch [Sat, 3 May 2014 20:41:33 +0000 (22:41 +0200)]
avfilter/phase: do not pass the whole context to analyze_plane().

Also make sure the AVFilterContext is only being used for logging by
changing the type to void*

6 years agoavfilter/phase: add comment on the context cached frame.
Clément Bœsch [Sat, 3 May 2014 20:39:31 +0000 (22:39 +0200)]
avfilter/phase: add comment on the context cached frame.

6 years agoMerge commit '0bacfa8d37710b904897e7cbeb8d6f96fbf75e2e'
Michael Niedermayer [Thu, 8 May 2014 19:54:07 +0000 (21:54 +0200)]
Merge commit '0bacfa8d37710b904897e7cbeb8d6f96fbf75e2e'

* commit '0bacfa8d37710b904897e7cbeb8d6f96fbf75e2e':
  rtmpproto: Check the buffer sizes when copying app/playpath strings

Conflicts:
libavformat/rtmpproto.c

See: 0c2a6dabced53b4df57aedf47f0c1b8233035fed
See: 02ac3398eb52679301028c2fd3ebad1b6261b4da
Merged-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoavcodec/exr: mark gama option as experimental / unsupported
Michael Niedermayer [Thu, 8 May 2014 19:10:53 +0000 (21:10 +0200)]
avcodec/exr: mark gama option as experimental / unsupported

Suggested-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoavcodec/exr: Add a gamma flag to exr loader to avoid banding
Gonzalo Garramuno [Thu, 8 May 2014 16:27:56 +0000 (13:27 -0300)]
avcodec/exr: Add a gamma flag to exr loader to avoid banding

This is needed to avoid banding artifacts when gammaing the picture.
Currently, if done with a video filter, the process is done on uints
instead of full float.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoavformat/rtmpproto: add FFMIN() to av_strlcpy()
Michael Niedermayer [Thu, 8 May 2014 16:19:38 +0000 (18:19 +0200)]
avformat/rtmpproto: add FFMIN() to av_strlcpy()

Suggested-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agortmpproto: Check the buffer sizes when copying app/playpath strings
Martin Storsjö [Thu, 8 May 2014 12:12:23 +0000 (15:12 +0300)]
rtmpproto: Check the buffer sizes when copying app/playpath strings

As pointed out by Reimar Döffinger.

CC: libav-stable@libav.org
Signed-off-by: Martin Storsjö <martin@martin.st>
6 years agoavcodec/mjpegdec: zero gb to silence warning about it being possibly uninitialized
Michael Niedermayer [Thu, 8 May 2014 15:36:50 +0000 (17:36 +0200)]
avcodec/mjpegdec: zero gb to silence warning about it being possibly uninitialized

The code is not speed relevant, also its more robust if the pointers are NULL instead of random.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoavcodec/takdec: Always initialize hsize, silence "may be used uninitialized" warning
Michael Niedermayer [Thu, 8 May 2014 15:33:28 +0000 (17:33 +0200)]
avcodec/takdec: Always initialize hsize, silence "may be used uninitialized" warning

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoavcodec/dcadec: add an assert to silence a uninitialized variable warning
Michael Niedermayer [Thu, 8 May 2014 14:48:41 +0000 (16:48 +0200)]
avcodec/dcadec: add an assert to silence a uninitialized variable warning

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoavcodec/dcadec: remove always true if()
Michael Niedermayer [Thu, 8 May 2014 14:47:20 +0000 (16:47 +0200)]
avcodec/dcadec: remove always true if()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoavcodec/cinepakenc: Fix "may be used uninitialized in this function" warnings
Michael Niedermayer [Thu, 8 May 2014 13:53:40 +0000 (15:53 +0200)]
avcodec/cinepakenc: Fix "may be used uninitialized in this function" warnings

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoavfilter/af_compand: Silence "may be used uninitialized" warning
Michael Niedermayer [Thu, 8 May 2014 04:53:16 +0000 (06:53 +0200)]
avfilter/af_compand: Silence "may be used uninitialized" warning

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoMerge remote-tracking branch 'lukaszmluki/master'
Michael Niedermayer [Thu, 8 May 2014 01:49:04 +0000 (03:49 +0200)]
Merge remote-tracking branch 'lukaszmluki/master'

* lukaszmluki/master:
  lavc: use av_fifo_freep
  lavf: use av_fifo_freep
  ffmpeg: use av_fifo_freep
  lavd/jack_audio: use av_fifo_freep
  lavfi: use av_fifo_freep
  lavu/fifo: add av_fifo_freep function

Merged-by: Michael Niedermayer <michaelni@gmx.at>
6 years agolavc: use av_fifo_freep
Lukasz Marek [Tue, 6 May 2014 19:51:14 +0000 (21:51 +0200)]
lavc: use av_fifo_freep

Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
6 years agolavf: use av_fifo_freep
Lukasz Marek [Tue, 6 May 2014 19:48:14 +0000 (21:48 +0200)]
lavf: use av_fifo_freep

Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
6 years agoffmpeg: use av_fifo_freep
Lukasz Marek [Tue, 6 May 2014 19:43:34 +0000 (21:43 +0200)]
ffmpeg: use av_fifo_freep

Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
6 years agolavd/jack_audio: use av_fifo_freep
Lukasz Marek [Tue, 6 May 2014 19:38:34 +0000 (21:38 +0200)]
lavd/jack_audio: use av_fifo_freep

Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
6 years agolavfi: use av_fifo_freep
Lukasz Marek [Tue, 6 May 2014 19:31:08 +0000 (21:31 +0200)]
lavfi: use av_fifo_freep

Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
6 years agolavu/fifo: add av_fifo_freep function
Lukasz Marek [Tue, 6 May 2014 19:28:51 +0000 (21:28 +0200)]
lavu/fifo: add av_fifo_freep function

Function allows to free fifo and reset freed pointer.

Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
6 years agoavcodec/huffyuvenc: Make version 3 of ffvhuff non experimental
Michael Niedermayer [Tue, 29 Apr 2014 15:27:53 +0000 (17:27 +0200)]
avcodec/huffyuvenc: Make version 3 of ffvhuff non experimental

Tested-by: Tim Nicholson <nichot20@yahoo.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoavcodec/cinepakenc: drop coded_frame init
Michael Niedermayer [Wed, 7 May 2014 15:54:48 +0000 (17:54 +0200)]
avcodec/cinepakenc: drop coded_frame init

Fixes const being lost warning

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoavcodec/cinepakenc: Zero AVPictures, silence "may be used uninitialized" warnings
Michael Niedermayer [Wed, 7 May 2014 15:53:04 +0000 (17:53 +0200)]
avcodec/cinepakenc: Zero AVPictures, silence "may be used uninitialized" warnings

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoavcodec/eamad: silence uninitialized variable warnings
Michael Niedermayer [Wed, 7 May 2014 15:48:04 +0000 (17:48 +0200)]
avcodec/eamad: silence uninitialized variable warnings

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoavcodec/ac3enc: silence 2 warnings about "possibly uninitialized" variables
Michael Niedermayer [Wed, 7 May 2014 14:52:36 +0000 (16:52 +0200)]
avcodec/ac3enc: silence 2 warnings about "possibly uninitialized" variables

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoavfilter/aeval: silence "may be used uninitialized" warning
Michael Niedermayer [Wed, 7 May 2014 14:14:44 +0000 (16:14 +0200)]
avfilter/aeval: silence "may be used uninitialized" warning

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoinline asm: fix arrays as named constraints.
Matt Oliver [Wed, 7 May 2014 04:16:26 +0000 (14:16 +1000)]
inline asm: fix arrays as named constraints.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoavformat/utils: fix const warnings
Michael Niedermayer [Wed, 7 May 2014 03:52:58 +0000 (05:52 +0200)]
avformat/utils: fix const warnings

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agocmdutils: include config.h, fix "is not defined" warning due to CONFIG_OPENCL
Michael Niedermayer [Wed, 7 May 2014 03:38:23 +0000 (05:38 +0200)]
cmdutils: include config.h, fix "is not defined" warning due to CONFIG_OPENCL

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoavformat/h263dec/h263_probe: Check TR
Michael Niedermayer [Wed, 7 May 2014 01:41:41 +0000 (03:41 +0200)]
avformat/h263dec/h263_probe: Check TR

Fixes missdetection of Misdetection_345.mp3
Fixes missdetection of Misdetection_421.mp3
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoavformat/h263dec/h263_probe: Check PSC bit 9 and 13 in
Michael Niedermayer [Wed, 7 May 2014 01:20:13 +0000 (03:20 +0200)]
avformat/h263dec/h263_probe: Check PSC bit 9 and 13 in

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoavformat/h263dec: shift data in state to make more bits available to probe
Michael Niedermayer [Wed, 7 May 2014 01:12:34 +0000 (03:12 +0200)]
avformat/h263dec: shift data in state to make more bits available to probe

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoavcodec/wavpack: initialize pointers to silence warning about them possibly being...
Michael Niedermayer [Wed, 7 May 2014 00:13:56 +0000 (02:13 +0200)]
avcodec/wavpack: initialize pointers to silence warning about them possibly being uninitialized

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoavcodec/hevc: remove unused variable
Michael Niedermayer [Wed, 7 May 2014 00:07:12 +0000 (02:07 +0200)]
avcodec/hevc: remove unused variable

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoswresample/resample: add missing xmm clobbers
James Almer [Tue, 6 May 2014 23:10:14 +0000 (20:10 -0300)]
swresample/resample: add missing xmm clobbers

Might fix fate-swr on ICL

Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoMerge commit '7ce3bd9614717e545af8fb8455032c807e389b78'
Michael Niedermayer [Tue, 6 May 2014 22:39:26 +0000 (00:39 +0200)]
Merge commit '7ce3bd9614717e545af8fb8455032c807e389b78'

* commit '7ce3bd9614717e545af8fb8455032c807e389b78':
  rtmpproto: Support alternative slist parameter in rtmp URLs

Merged-by: Michael Niedermayer <michaelni@gmx.at>
6 years agortmpproto: Support alternative slist parameter in rtmp URLs
Uwe L. Korn [Mon, 5 May 2014 20:47:05 +0000 (21:47 +0100)]
rtmpproto: Support alternative slist parameter in rtmp URLs

Support the URL scheme where the playpath is in an RTMP URL is
passed as the slist argument and the app is given infront of the
query part of the URL:

rtmp://host[:port]/[app]?slist=[playpath]

(other arguments in the query part are stripped as they are not used)

Signed-off-by: Martin Storsjö <martin@martin.st>
6 years agoavcodec/x86/hevcdsp_init: fix SSE4 checks
Michael Niedermayer [Tue, 6 May 2014 16:27:49 +0000 (18:27 +0200)]
avcodec/x86/hevcdsp_init: fix SSE4 checks

Found-by: James Almer <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoavcodec/x86/Makefile: remove duplicate line
Michael Niedermayer [Tue, 6 May 2014 15:39:19 +0000 (17:39 +0200)]
avcodec/x86/Makefile: remove duplicate line

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoavcodec/x86/hevcdsp_init: fix build on 32bit
Michael Niedermayer [Tue, 6 May 2014 15:38:20 +0000 (17:38 +0200)]
avcodec/x86/hevcdsp_init: fix build on 32bit

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoHEVC : added assembly MC functions
plepere [Mon, 28 Apr 2014 14:12:28 +0000 (16:12 +0200)]
HEVC : added assembly MC functions

pretty print x86

Reviewed-by: "Ronald S. Bultje" <rsbultje@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agohevc: C code update for new motion compensation
Mickaël Raulet [Sat, 26 Apr 2014 13:35:23 +0000 (15:35 +0200)]
hevc: C code update for new motion compensation

pretty print C

Reviewed-by: "Ronald S. Bultje" <rsbultje@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoMerge remote-tracking branch 'cus/stable'
Michael Niedermayer [Tue, 6 May 2014 13:39:47 +0000 (15:39 +0200)]
Merge remote-tracking branch 'cus/stable'

* cus/stable:
  mpegts: always reset pes packet state on new packet
  mpegts: unref buffer in reset_pes_packet_state
  mpegts: factorize pes packet state reset function
  mpegts: fix indentation after last commit
  mpegts: only emit new packets if data buffer exists
  mpegts: remove uneeded buf_size check

Merged-by: Michael Niedermayer <michaelni@gmx.at>
6 years agox86/mpegaudiodsp.c: msvc compilation error without sse/avx_external
Matt Oliver [Tue, 6 May 2014 04:42:38 +0000 (14:42 +1000)]
x86/mpegaudiodsp.c: msvc compilation error without sse/avx_external

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agogitignore: add tools/uncoded_frame
Lukasz Marek [Tue, 6 May 2014 03:23:37 +0000 (05:23 +0200)]
gitignore: add tools/uncoded_frame

Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoavcodec/mpeg4videoenc: fix alternative implementation of mpeg4_encode_dc()
Michael Niedermayer [Tue, 6 May 2014 03:36:10 +0000 (05:36 +0200)]
avcodec/mpeg4videoenc: fix alternative implementation of mpeg4_encode_dc()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoavcodec/mpeg4videodec: fix mcbpc error messages
Michael Niedermayer [Tue, 6 May 2014 03:34:00 +0000 (05:34 +0200)]
avcodec/mpeg4videodec: fix mcbpc error messages

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoavcodec/snowenc: Fix "incompatible pointer type" warning
Michael Niedermayer [Mon, 5 May 2014 23:03:58 +0000 (01:03 +0200)]
avcodec/snowenc: Fix "incompatible pointer type" warning

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoavfilter/af_bs2b: Fix incompatible pointer type warnings
Michael Niedermayer [Mon, 5 May 2014 23:01:02 +0000 (01:01 +0200)]
avfilter/af_bs2b: Fix incompatible pointer type warnings

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoavcodec/svq3: Fix "incompatible pointer type" warnings
Michael Niedermayer [Mon, 5 May 2014 21:30:35 +0000 (23:30 +0200)]
avcodec/svq3: Fix "incompatible pointer type" warnings

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoavformat/segment: Use av_malloc_array()
Michael Niedermayer [Mon, 5 May 2014 21:11:04 +0000 (23:11 +0200)]
avformat/segment: Use av_malloc_array()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agompegts: always reset pes packet state on new packet
Marton Balint [Fri, 2 May 2014 15:17:01 +0000 (17:17 +0200)]
mpegts: always reset pes packet state on new packet

Fixes ticket #3584.

Signed-off-by: Marton Balint <cus@passwd.hu>
6 years agompegts: unref buffer in reset_pes_packet_state
Marton Balint [Fri, 2 May 2014 15:13:27 +0000 (17:13 +0200)]
mpegts: unref buffer in reset_pes_packet_state

Signed-off-by: Marton Balint <cus@passwd.hu>
6 years agompegts: factorize pes packet state reset function
Marton Balint [Fri, 2 May 2014 14:51:58 +0000 (16:51 +0200)]
mpegts: factorize pes packet state reset function

Signed-off-by: Marton Balint <cus@passwd.hu>
6 years agompegts: fix indentation after last commit
Marton Balint [Thu, 1 May 2014 23:44:58 +0000 (01:44 +0200)]
mpegts: fix indentation after last commit

Signed-off-by: Marton Balint <cus@passwd.hu>
6 years agompegts: only emit new packets if data buffer exists
Marton Balint [Thu, 1 May 2014 23:44:19 +0000 (01:44 +0200)]
mpegts: only emit new packets if data buffer exists

I don't think this can acutally happen in the current code, but better safe
than sorry.

Fixes Coverity CID 732217.

Signed-off-by: Marton Balint <cus@passwd.hu>
6 years agompegts: remove uneeded buf_size check
Marton Balint [Thu, 1 May 2014 23:35:28 +0000 (01:35 +0200)]
mpegts: remove uneeded buf_size check

It is already ensured by the loop condition

Signed-off-by: Marton Balint <cus@passwd.hu>
6 years agoavutil/file_open: Use av_mallocz_array()
Michael Niedermayer [Mon, 5 May 2014 17:00:38 +0000 (19:00 +0200)]
avutil/file_open: Use av_mallocz_array()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agotests/tiny_ssim: more correct error message
Michael Niedermayer [Mon, 5 May 2014 17:00:14 +0000 (19:00 +0200)]
tests/tiny_ssim: more correct error message

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoavutil/audio_fifo: Use av_mallocz_array()
Michael Niedermayer [Mon, 5 May 2014 16:59:56 +0000 (18:59 +0200)]
avutil/audio_fifo: Use av_mallocz_array()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agotools/ismindex: use av_mallocz_array()
Michael Niedermayer [Mon, 5 May 2014 16:40:55 +0000 (18:40 +0200)]
tools/ismindex: use av_mallocz_array()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agotests/tiny_ssim: check dimensions
Michael Niedermayer [Mon, 5 May 2014 16:39:30 +0000 (18:39 +0200)]
tests/tiny_ssim: check dimensions

Fix integer overflow

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agolavu/fifo: add const to arguments
Lukasz Marek [Sun, 4 May 2014 20:03:46 +0000 (22:03 +0200)]
lavu/fifo: add const to arguments

Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoavformat/astenc: avoid using AVCodecContext.frame_number
Michael Niedermayer [Mon, 5 May 2014 14:46:47 +0000 (16:46 +0200)]
avformat/astenc: avoid using AVCodecContext.frame_number

Theres no gurantee that the user application has initialized it

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