Yong Lei
8dcfe43de0
avcodec/huffman: beautify: add space between #include and filename.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
b9d77c1dfc
doc/protocols: Fix seperated typo
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
697b2bbd54
avcodec/ffv1dec: Test extradata_size instead of extradata for better robustness
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
38cc5c298c
avformat/mov: Do not allocate empty extradata
Fixes Ticket5723
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Vittorio Giovara
6135c3b61e
Revert "avprobe: Zero the allocated avio buffer memory"
This reverts commit 0e0538aefc .
The valgrind warning was a false positive due to OSX implementation of
printf (invoking a strnlen), while this code is actually fine, since the
format specifier %.*s guarantes that no more than buf_size bytes from
buf will be read.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
9 years ago
Martin Storsjö
f637046d31
libavutil: Always use some GCC style attributes on clang
Clang normally disguises as GCC (defining __GNUC__), and thus get
all the normal GCC specific attributes.
Clang can also work as a drop-in replacement for MSVC, and in these
cases, it doesn't define __GNUC__, but defines _MSC_VER instead.
Even in these setups, it still supports the GCC style attributes,
thus use them, especially where there isn't any MSVC specific
version, or where the MSVC specific version doesn't work on clang
(for DECLARE_ASM_CONST).
Signed-off-by: Martin Storsjö <martin@martin.st>
9 years ago
Martin Storsjö
6f9e34baea
arm: Check for support for the .fpu directive
When targeting COFF (windows), clang doesn't support this
directive (while binutils supports it for all targets).
Signed-off-by: Martin Storsjö <martin@martin.st>
9 years ago
Michael Niedermayer
9264bb7e79
avfilter/vf_psnr: Fix rounding error in average_max
The intermediate was rounded to an integer
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Mark Reid
541731488e
libavformat/rawenc: add dnxhr raw format extension
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Jörn Heusipp
64131b87d6
libopenmpt: Add "date" to metadata.
Signed-off-by: Jörn Heusipp <osmanx@problemloesungsmaschine.de>
Signed-off-by: Josh de Kock <josh@itanimul.li>
9 years ago
Jörn Heusipp
840df1f193
libopenmpt: set stream duration and fix time base
Fix the confusion around the used time base.
Check size returned from avio_size()
Signed-off-by: Jörn Heusipp <osmanx@problemloesungsmaschine.de>
Signed-off-by: Josh de Kock <josh@itanimul.li>
9 years ago
Josh de Kock
4ed6edac76
docs/demuxers: add libopenmpt section
Signed-off-by: Josh de Kock <josh@itanimul.li>
9 years ago
Josh de Kock
9134d2df5b
libopenmpt: add subsong support
Signed-off-by: Josh de Kock <josh@itanimul.li>
9 years ago
James Almer
120f34b6ac
avformat/oggenc: add vp8 muxing support
Addresses ticket #5687
Signed-off-by: James Almer <jamrial@gmail.com>
9 years ago
James Almer
66408fce49
avformat: add an Ogg Video muxer
Signed-off-by: James Almer <jamrial@gmail.com>
9 years ago
James Almer
ec0e888e3a
Changelog: move a misplaced entry to the correct section
Signed-off-by: James Almer <jamrial@gmail.com>
9 years ago
Michael Niedermayer
3af1aba2be
avformat/mux: Fix some codecpar non uses
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Petru Rares Sincraian
3fd2ef922e
fate: add test for earwax filter
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Petru Rares Sincraian
7403dcc34e
fate: add test for dcshift filter
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Vittorio Giovara
ed9b2a5178
mov: Rework the check for invalid indexes in stsc
There are samples with invalid stsc that may work fine as is and
do not need extradata change. So ignore any out of range index, and
error out only when explode is set.
Found-by: Matthieu Bouron <matthieu.bouron@stupeflix.com>
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
9 years ago
Vittorio Giovara
90bc423212
mov: Wrap stsc index and count compare in a separate function
9 years ago
Matthieu Bouron
209ee680ce
mov: Fix stsc_count comparison
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
9 years ago
Vittorio Giovara
a1f6a2dfda
ratecontrol: Reorder functions to avoid forward declarations
9 years ago
Vittorio Giovara
d639dcdae0
ratecontrol: Move Xvid-related functions to the place they are actually used
This will simplify the de-MpegEncContextualization.
9 years ago
Vittorio Giovara
44972e227d
ratecontrol: Move mpegenc-only function where it is used
9 years ago
Vittorio Giovara
b4bb959383
ratecontrol: Drop commented out cruft
9 years ago
James Almer
7a15cf42ee
x86/diracdsp: make ff_put_signed_rect_clamped_10_sse4 work on x86_32
Reviewed-by: Rostislav Pehlivanov <atomnuker@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
9 years ago
Diego Biurrun
d06dfaa5cb
x86: huffyuv: Use EXTERNAL_SSSE3_FAST convenience macro where appropriate
10 years ago
Fiona Glaser
8e9cd81d29
x86: cpu: Detect Conroe CPUs and their slow shuffle unit
10 years ago
Diego Biurrun
7d7355aa92
x86: Add SSSE3_SLOW CPU flag and related convenience macros
10 years ago
Diego Biurrun
4efab89332
x86: Use *_FAST/*_SLOW CPU feature detection macros where appropriate
10 years ago
Diego Biurrun
0a39c9ac0b
x86: hpeldsp: Don't check for bitexact flag when initializing VP3-specific code
That code is only ever initialized with that flag set.
10 years ago
Diego Biurrun
95c1df929b
x86: hpeldsp: Drop unused function parameters
10 years ago
Diego Biurrun
c3e83ad3b7
x86: hpeldsp: Use EXTERNAL_SSE2_FAST where appropriate
10 years ago
Diego Biurrun
1dfc3cf89d
x86: hpeldsp: Split off VP3-specific bits into a separate file
10 years ago
Vittorio Giovara
9833a406d3
examples: Properly free AVCodecContext
9 years ago
Vittorio Giovara
0e0538aefc
avprobe: Zero the allocated avio buffer memory
Fixes valgrind warning "Conditional jump or move depends on
uninitialised value(s)." from avio_flush().
9 years ago
Vittorio Giovara
5d0f85f1b2
libdc1394: Fill in packet data directly
Drop the packet embedded in the context.
9 years ago
Anton Khirnov
e344e65109
h264dec: do not call finish_setup() if we have not started a frame
Found-By: Jan Ruge <jan.s.ruge@gmail.com>
Bug-Id: 952
9 years ago
Anton Khirnov
76f7e70aa0
h264dec: handle zero-sized NAL units in get_last_needed_nal()
The current code will ignore the init_get_bits() failure and do an
invalid read from the uninitialized GetBitContext.
Found-By: Jan Ruge <jan.s.ruge@gmail.com>
Bug-Id: 952
9 years ago
Anton Khirnov
1f7b4f9abc
h264dec: make sure not to call finish_setup() more than once per frame
It does not break anything currently, but should not be done anyway.
9 years ago
Hendrik Leppkes
da917fcf51
avconv_dxva2: add a profile check for hevc
Signed-off-by: Anton Khirnov <anton@khirnov.net>
10 years ago
Hendrik Leppkes
1ecb63cd1c
hevc: set profile based on the profile compatibility flags if needed
This fixes retrieving a valid profile for many of the FATE conformance samples,
allowing them to be properly decoded by the HWAccel after adding a profile check.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
10 years ago
Mark Reid
41d7642a7b
libavcodec/dnxhd: add dnxhr profiles
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Jun Zhao
a06acfff76
ffmpeg_opt: Delete duplicate “hwaccel_output_format” option.
Delete duplicate “hwaccel_output_format” option.
Signed-off-by: Jun Zhao <mypopydev@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Vignesh Venkatasubramanian
134fe28981
libavcodec/libvpx: Add VPx alpha decode support
VPx (VP8/VP9) alpha encoding has been part of FFmpeg. Now, add the
ability to decode such files with alpha channel.
Signed-off-by: Vignesh Venkatasubramanian <vigneshv@google.com>
9 years ago
Petru Rares Sincraian
2383618a40
fate: add test for chorus filter
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
James Almer
1582e306a4
avformat/avlanguage: make av_convert_lang_to() internal
The header was never installed and the function is only used in libavformat
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
9 years ago
James Almer
b3820cabad
avformat/oggenc: fix page duration calculation when granule differs from timestamp
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: James Almer <jamrial@gmail.com>
9 years ago
James Almer
5adfbd3918
avformat/oggparsevp8: fix pts calculation on pages ending with an invisible frame
Signed-off-by: James Almer <jamrial@gmail.com>
9 years ago