Michael Niedermayer
df6cdb23f0
avcodec/utils: Check AVFrame width/height in avcodec_encode_video2()
...
This is similar to the format check
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Daniel Moran
0ae37e460c
avdevice/xcbgrab: Fix show_region rectangle
...
Fixes trac ticket #4164
This is to address an error when using show_region, which would cause part of the captured area to become static.
It looks like the rectangle specifying the capture area was relative to the capture window.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Clément Bœsch
6153aa2d1e
avcodec/jacosubdec: check strftime return value
...
Fixes CID1257004
10 years ago
Luca Barbato
4f5906a1d7
latm: Do not give a score for a single instance
...
Bug-Id: 773
CC: libav-stable@libav.org
10 years ago
Михаил Муковников
71f29410e7
lavfi: Increase drawtext font size limits
...
Raise the maximum font size to a larger value.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
10 years ago
Michael Niedermayer
ace9161655
avutil/opt: Check av_parse_video_rate()s return value
...
Fixes CID1257008
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Michael Niedermayer
eb74839caa
avutil/opt: Check av_parse_color() return value
...
Fixes: CID1257007
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Michael Niedermayer
3393cd8545
avcodec/utils: check AVframe.format being set in avcodec_encode_video2()
...
We dont fail hard if its not set as the old API allowed this and our examples
did in the distant past not set it, these examples still work with the
current code and some encoders.
Based on suggestion by: funman
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Michael Niedermayer
74080ded96
avformat/mpeg: add commented out av_log() to probe
...
This is commonly needed for debugging mis-detections
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Michael Niedermayer
e15b29bb18
avformat/mpeg: do not count PES packets inside PES packets during probing
...
Fixes: misdetection of test2.mp3
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Michael Niedermayer
890d8f44fd
avutil/buffer: add #if USE_ATOMICS around atomics specific functions to ensure sync types arent mixed by mistake
...
Fixes CID1257011
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Michael Niedermayer
a4f387bf56
avformat/mpegts: Warn if ffio_ensure_seekback() failed
...
Should silence CID1257005
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Michael Niedermayer
6be36ef3c1
avcodec/libxavs: disable global header code
...
This code only segfaults and fixing the segfault, the resulting
files are unplayable, so disable to avoid the segfault.
Better solution is welcome
See: [FFmpeg-devel] [PATCH] avcodec/libxavs: remove global header code
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Michael Niedermayer
c149f67e9b
avformat/apetag: More completely check avio_get_str() return value
...
This is not needed but its more proper to check the return value
Fixes CID1041122
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Michael Niedermayer
7ad742b224
avfilter/vf_signalstats: fix avframe leak on error
...
Fixes CID1257014
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Michael Niedermayer
8280b7db47
avfilter/buffersrc: add context to av_log() call
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Michael Niedermayer
1adc1b97e1
avcodec/hevc_ps: Add context to av_log() call
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Michael Niedermayer
b4ece54947
avfilter/avcodec: use NULL instead of 0 for pointer
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Reynaldo H. Verdejo Pinochet
7cdc99707b
ffserver_config: fix line width on fwd declarations
...
Signed-off-by: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
10 years ago
Reynaldo H. Verdejo Pinochet
ac896f0cd1
ffserver_config: reflow _get_arg()
...
Signed-off-by: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
10 years ago
Reynaldo H. Verdejo Pinochet
da95fe4ef8
ffserver_config: reflow _parse_ffconfig()
...
Signed-off-by: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
10 years ago
Timothy Gu
4a27f05d14
doc: html: Use native viewport
...
Fixes displaying docs on small-screen devices.
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Timothy Gu
cd6f0f28bc
doc: Do not use the headings as links to TOC anchors
...
Instead, use FontAwesome icons (if configured to be this way) or separate
text.
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Christian Suloway
1c639fa6e0
avformat/hlsenc: added segment filename option
...
This option allows segment filenames to be specified. Unless -hls_flags
single_file is set the filename is used as a string format with the
segment number.
Example:
ffmpeg -f lavfi -i testsrc -c:v h264 -map 0 -hls_segment_filename
bar%03d.ts foo.m3u8
Signed-off-by: Christian Suloway <csuloway@globaleagleent.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Michael Niedermayer
ce800d4695
avcodec/dvbsubdec: Remove redundant "DVBSub error" prefix
...
Found-by: ubitux
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Michael Niedermayer
1d048f762d
Merge commit '9a738c27dceb4b975784b23213a46f5cb560d1c2'
...
* commit '9a738c27dceb4b975784b23213a46f5cb560d1c2':
v210enc: Add SIMD optimised 8-bit and 10-bit encoders
Conflicts:
libavcodec/v210enc.c
libavcodec/v210enc.h
libavcodec/x86/Makefile
libavcodec/x86/v210enc.asm
libavcodec/x86/v210enc_init.c
tests/ref/vsynth/vsynth1-v210
tests/ref/vsynth/vsynth2-v210
See: 36091742d1
Merged-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Michael Niedermayer
e827f65618
Merge commit '33c827f632f95ffe3399b695a5a0d47b366b6e20'
...
* commit '33c827f632f95ffe3399b695a5a0d47b366b6e20':
swscale: Properly scale YUV
Conflicts:
libswscale/swscale_unscaled.c
tests/ref/fate/filter-pixdesc-yuv420p10be
tests/ref/fate/filter-pixdesc-yuv420p10le
tests/ref/fate/filter-pixdesc-yuv420p9be
tests/ref/fate/filter-pixdesc-yuv420p9le
tests/ref/fate/filter-pixdesc-yuva420p10be
tests/ref/fate/filter-pixdesc-yuva420p10le
tests/ref/fate/filter-pixdesc-yuva420p9be
tests/ref/fate/filter-pixdesc-yuva420p9le
tests/ref/fate/filter-pixfmts-copy
tests/ref/fate/filter-pixfmts-null
tests/ref/fate/filter-pixfmts-scale
tests/ref/fate/filter-pixfmts-vflip
See: abe0b8e9f3
Merged-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Michael Niedermayer
95482092b1
Merge commit '8c0a865ad96b9e8542051f75b0edc424cb73994e'
...
* commit '8c0a865ad96b9e8542051f75b0edc424cb73994e':
mov: skip version and flags attributes in mov_read_chan()
See: 59d40fc7e6
Merged-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Lukasz Marek
8616c5b75a
lavc/options: fix leaks in avcodec_copy_context
...
Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
10 years ago
Michael Niedermayer
66f379da15
Merge commit 'b72727a5248f1ef02db99b378dce1eb48a46357a'
...
* commit 'b72727a5248f1ef02db99b378dce1eb48a46357a':
lavc: mention that the parser callback never returns an error
Merged-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Michael Niedermayer
03abf55f25
avformat/rmdec: Check for overflow in ff_rm_read_mdpr_codecdata()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Michael Niedermayer
50f9de59a0
avformat/rmdec: rm_read_extradata: add error message for oversized extradata
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Michael Niedermayer
ef2f9073dd
Merge commit '1c77ead1fb14d64e6798fc5e32af04abcb3cebb4'
...
* commit '1c77ead1fb14d64e6798fc5e32af04abcb3cebb4':
rm: Use the correct codec_data_size signedness
Conflicts:
libavformat/rm.h
libavformat/rmdec.c
See: a6f730730b
Merged-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Michael Niedermayer
a0d0799ea2
Merge commit '1eec9bfc383f6dca29d83a2bfb45433dd66561c9'
...
* commit '1eec9bfc383f6dca29d83a2bfb45433dd66561c9':
APIchanges: mark the release 11 branch point
Conflicts:
doc/APIchanges
Not merged as the contents in our APIchanges differ and it could be confusing
Merged-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Lukasz Marek
53b2809f2c
lavc/options: don't copy priv context when it is not AVOption object
...
This prevents potential crash when opt API is used without a class.
Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
10 years ago
Michael Niedermayer
95f719fb8f
Merge commit '69c1fe7c9c9bc85eebfc02c6a19caf7e88cd74ff'
...
* commit '69c1fe7c9c9bc85eebfc02c6a19caf7e88cd74ff':
mkv: Validate ASS Start and End fields
Conflicts:
libavformat/matroskaenc.c
No change as the changed code is not in FFmpeg
Merged-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Michael Niedermayer
fa4c3130ee
Merge commit '7834a54c66d46471b246b411627efe2e8ef9dd47'
...
* commit '7834a54c66d46471b246b411627efe2e8ef9dd47':
configure: enable vda hwaccel by default
Conflicts:
configure
See: 942cded690
Merged-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Michael Niedermayer
d94a475c59
Merge commit '894545cb717427a47f800dc7738b923afde139a6'
...
* commit '894545cb717427a47f800dc7738b923afde139a6':
mpegvideo: exit cleanly when ff_mpv_common_frame_size_change() fails
See: cfce6f7efd
Merged-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Michael Niedermayer
2e59e6ff68
Merge commit '7a38987f245e3c280d81442f207b983333b6233c'
...
* commit '7a38987f245e3c280d81442f207b983333b6233c':
mpegvideo: free_context_frame() cannot fail, make it return void
See: 94c61cd9ae
Merged-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Michael Niedermayer
9222a176e1
Merge commit 'c45eeb2dbf42382d335da8068231a8026c08843b'
...
* commit 'c45eeb2dbf42382d335da8068231a8026c08843b':
mpegvideo: replace assert about interlaced EC with debug av_log()
Conflicts:
libavcodec/mpegvideo.c
See: c88bbc01eb
Merged-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Michael Niedermayer
9d921cce4f
Merge commit '3a56bcee7cb7549b2813e39ce3bee3b7c522aecb'
...
* commit '3a56bcee7cb7549b2813e39ce3bee3b7c522aecb':
mpeg12dec: Use more specific error codes
Conflicts:
libavcodec/mpeg12dec.c
See: 1852b2a0f4
Merged-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Michael Niedermayer
bcc43de51f
Merge commit 'b56afb48aecb96e03347f5b569f16a64147c18b1'
...
* commit 'b56afb48aecb96e03347f5b569f16a64147c18b1':
mpeg12dec: Print error/warning messages on issues in mpeg1_decode_sequence()
Conflicts:
libavcodec/mpeg12dec.c
See: 88b4c1a731
Merged-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Michael Niedermayer
81f116d31c
Merge commit 'e0bb74a1403ed77ef369b9d62866f8a4afaf3f1d'
...
* commit 'e0bb74a1403ed77ef369b9d62866f8a4afaf3f1d':
exr: Add a gamma flag to exr loader to avoid banding
Conflicts:
libavcodec/exr.c
See: cd3daad77e
Merged-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Michael Niedermayer
47c066f22e
Merge commit 'd69d787dad77f62c89cbc7ea5d301641f45f36e3'
...
* commit 'd69d787dad77f62c89cbc7ea5d301641f45f36e3':
h264: proper cleanup in ff_h264_alloc_tables() if DPB alloc fails
See: 949057c958
Merged-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Michael Niedermayer
7a64f16841
Merge commit '56de2897a68e3a8795b0b3c593dad1c5832696e0'
...
* commit '56de2897a68e3a8795b0b3c593dad1c5832696e0':
h264: Fix memory leak on ff_h264_decode_init() failure
Conflicts:
libavcodec/h264.c
See: 309a931a38
Merged-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Michael Niedermayer
4ba0141921
avcodec/dvbsubdec: Pass context to av_log()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Michael Niedermayer
b0ae362a21
avcodec/golomb: use NULL for pointers instead of 0
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Piotr Fusik
c99e5191ab
doc/examples/filtering_video: fix frame rate
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Rafaël Carré
57bfafe76b
avformat/mpegts: fix Opus stream count
...
That number represents the number of streams, not the number of channels
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Kieran Kunhya
9a738c27dc
v210enc: Add SIMD optimised 8-bit and 10-bit encoders
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
10 years ago