Luca Barbato
7cbe1ea9df
configure: Move the bz2 and zlib checks below phtreads
There are alternate implementations of those libraries that use pthreads.
12 years ago
Diego Biurrun
70a7b24d56
avutil: Add deprecation ifdefs around obsolete intfloat code
This long-deprecated code should disappear at the next version bump.
12 years ago
Diego Biurrun
79d9884e95
build: Merge pthreads/w32threads OBJS declarations
12 years ago
Diego Biurrun
7c3388711b
configure: Add -D__USE_MINGW_ANSI_STDIO=1 to CPPFLAGS on MinGW32
This enables a more C99-compliant implementation of printf et al.
12 years ago
Diego Biurrun
bdc111a162
configure: Detect newer (>=4.1) versions of MinGW32
The MinGW32 project is deprecating its old version macros.
12 years ago
Diego Biurrun
a1d7d55247
build: Do not add -g to HOSTCFLAGS
The flag is not unconditionally added to CFLAGS either and the
programs built on the host do not get habitually fed to a debugger.
12 years ago
Carl Eugen Hoyos
9fa75be96d
mpegts: add HEVC registration descriptor
12 years ago
Vittorio Giovara
a2eeed619d
changelog: drop redundant new attribute
12 years ago
Martin Lambers
ae9d13f03e
img2: add stereo 3d still picture file extensions
12 years ago
Vittorio Giovara
46c0cbd5dc
rtsp: suppress a incompatible pointer types warning
12 years ago
Vittorio Giovara
6b45f05ef5
parseutils: fix discarding const attribute warning
12 years ago
Martin Storsjö
35686a289f
mp3adu: Set the channel layout properly
This fixes decoding, broken since 7e35037 .
This is similar to what was done for the normal mp3 decoder in
f4a86bc9 .
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Rumin Sam
70e981cf5d
rtspdec: Fix keep-alive request for ACTi cameras
Some ACTi cameras fail if "*" is passed as the URI.
Signed-off-by: Ismael Luceno <ismael.luceno@corp.bluecherry.net>
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Anton Khirnov
d7b3ee9a3a
lavc: deprecate avcodec_get_frame_defaults().
Also bump libavcodec micro and add an APIchanges entry saying that
av_frame_* should now be used instead of the lavc AVFrame functions.
12 years ago
Anton Khirnov
598ce4ab4f
h264: call av_frame_unref() instead of avcodec_get_frame_defaults().
This is a temporary workaround to allow deprecating
avcodec_get_frame_defaults(). The proper solution will be using a
properly allocated AVFrame in Picture.
12 years ago
Anton Khirnov
48d17ee6dc
api-example: remove an unneeded call to avcodec_get_frame_defaults().
avcodec_decode_audio4() resets the frame itself.
12 years ago
Anton Khirnov
281a40e18f
lavf: remove an unneeded call to avcodec_get_frame_defaults().
avcodec_decode_*() resets the frame itself.
12 years ago
Anton Khirnov
2d1f4288dd
mpegvideo: call av_frame_unref() instead of avcodec_get_frame_defaults().
This is a temporary workaround to allow deprecating
avcodec_get_frame_defaults(). The proper solution will be using a
properly allocated AVFrame in Picture.
12 years ago
Anton Khirnov
b06c8bce02
mpegvideo: remove an unneeded call to avcodec_get_frame_defaults().
ff_mpeg_unref_picture() already resets the frame.
12 years ago
Anton Khirnov
84f131921f
avplay: do not call avcodec_get_frame_defaults().
avcodec_decode_audio4() will reset the frame itself.
12 years ago
Anton Khirnov
95a8a5aca6
lavc: call av_frame_unref() instead of avcodec_get_frame_defaults().
avcodec_get_frame_defaults() will be deprecated.
12 years ago
Anton Khirnov
674fa49110
avconv: do not call avcodec_get_frame_defaults()
Strictly speaking it is not correct to call it on refcounted frames, in
any case it is unnecessary, since filtered_frame is always unreferenced
after poll_filter() returns.
12 years ago
Anton Khirnov
9431356218
lavc: deprecate avcodec_free_frame()
av_frame_free() should be used instead.
12 years ago
Anton Khirnov
eb891b3114
Replace all uses of avcodec_free_frame with av_frame_free().
12 years ago
Guillaume Martres
17a10d51b8
hevc: set time_base when possible
Signed-off-by: Anton Khirnov <anton@khirnov.net>
12 years ago
Gildas Cocherel
33452aede6
hevc: store the VPS list as an AVBufferRef, just like the others *PS
Signed-off-by: Anton Khirnov <anton@khirnov.net>
12 years ago
Michael Niedermayer
b769cf4b44
hevc: do not dereference pointer before NULL check in verify_md5()
Signed-off-by: Anton Khirnov <anton@khirnov.net>
12 years ago
Diego Biurrun
3bb91a1b5c
configure: Add -D__USE_MINGW_ANSI_STDIO=1 to CPPFLAGS on MinGW64
This enables a more POSIX-compliant printf implementation, that
allows using length modifiers like 'z'.
12 years ago
Reinhard Tartler
2a0fb7286d
alsdec: check block length
Fix writing over the end
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Addresses: CVE-2013-0845
12 years ago
Diego Biurrun
1a5fdf9519
configure: Move log2 dependency declaration to a place it takes effect
It was incorrectly moved in c869fcdeac .
12 years ago
Diego Biurrun
2756516466
configure: Split host and target libc detection
13 years ago
Diego Biurrun
c869fcdeac
configure: Move toolchain dependency declarations to a more appropriate place
12 years ago
Vittorio Giovara
acb77dff6a
hevc: parse frame packing arrangement SEI messages and save relevant stereo3d information
12 years ago
Vittorio Giovara
3d1d175367
mpeg12enc: set frame packing information when relevant metadata is found
12 years ago
Vittorio Giovara
bacc2869f3
mpeg12dec: parse frame packing arrangement user_data and save relevant stereo3d information
12 years ago
Vittorio Giovara
09cb75cdeb
libx264: set frame packing information when relevant information is found
12 years ago
Vittorio Giovara
5b10ef729f
h264: parse frame packing arrangement SEI messages and save relevant stereo3d information
13 years ago
Vittorio Giovara
7e244c6860
avframe: add codec-independent stereoscopic metadata
12 years ago
Diego Biurrun
d64341e498
configure: Prefix libc-related variables with "libc_"
Simplifies host/target libc detection splitting.
12 years ago
Sean McGovern
61b203ffe6
configure: detect Solaris libc
Add preprocessor flags for API availability as necessary.
Signed-off-by: Diego Biurrun <diego@biurrun.de>
12 years ago
Alexandra Khirnova
9b8d11a76a
avcodec: Use av_reallocp where suitable
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Anton Khirnov
d4f1188d1a
dv: use AVFrame API properly
12 years ago
John Stebbins
c9ca220ef2
ac3dec: make drc_scale exponentially
The a52 spec suggests that "partial compression" should scale the
drc value in this manner.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
12 years ago
Anton Khirnov
37a749012a
lavc: rework handling of refcounted_frames=0
Use only proper AVFrame API (no assigning of whole frames, since that
hardcodes sizeof(AVFrame) into lavc).
Make a copy of the side data, so the caller can use av_frame_unref/free
on non-refcounted frames, eliminating the need for
avcodec_get_frame_defaults()/avcodec_free_frame().
12 years ago
Anton Khirnov
df7aba52b5
frame: cosmetics, reindent
12 years ago
Anton Khirnov
c342132fa8
frame: copy flags in av_frame_copy_props()
Flags can be considered metadata (at least those that are defined now).
12 years ago
Anton Khirnov
a1ee164869
lavc/decode_video(): always unref the frame if there is no output in decode_video
Not just on failure. This is the same thing that is done in the audio
path and should prevent leaks in decoders that allocate a frame, but
then end up not writing into it.
12 years ago
Anton Khirnov
85f947aefb
lavc: remove a pointless check in decode_audio4()
av_frame_unref() works fine on unallocated frames.
12 years ago
Anton Khirnov
d4f0f2d1e8
lavc: use buf[0] instead of data[0] as the indicator of an allocated frame
data[0] may be NULL for valid frames with hwaccel pixel formats.
12 years ago
Anton Khirnov
e5419709f5
lavc: remove the extended_data workarounds.
All decoders should now handle it properly.
12 years ago