Vittorio Giovara
d528045558
mpegvideo: Have ff_mpeg_unref_picture use AVCodecContext directly
...
This skips setting the memory to 0 but allows for reuse on different
contextes. Oracle did not report any unsual activity because of it.
2015-05-22 15:34:39 +01:00
Vittorio Giovara
6f54dc43ce
mpegvideo: Drop stream_codec_tag
...
The field is unused.
2015-05-22 15:34:39 +01:00
Vittorio Giovara
9c1db92ad3
mpegvideo: Drop err_recognition
...
It is just a duplicate of an AVCodecContext member so use it instead.
2015-05-22 15:34:39 +01:00
Vittorio Giovara
848e86f74d
mpegvideo: Drop flags and flags2
...
They are just duplicates of AVCodecContext members so use those instead.
2015-05-22 15:34:39 +01:00
Michael Niedermayer
3b176af001
avformat/mxfenc: Add color siting element
...
Previous version Reviewed-by: tim nicholson <nichot20@yahoo.com>
Previous version Reviewed-by: Tomas Härdin <tomas.hardin@codemill.se>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-05-22 15:30:31 +02:00
Michael Niedermayer
a45cf639e6
libavformat/mux: Add ff_choose_chroma_location()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-05-22 15:30:31 +02:00
Michael Niedermayer
d09321b68e
avcodec/mpeg12dec: Fix chroma location
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-05-22 15:30:31 +02:00
Tim Nicholson
ebb08f3fe4
avutil/pixfmt: Clarify DV example comments for AVChromaLocation
...
Signed-off-by: Tim Nicholson <tim.nicholson@bbc.co.uk>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-05-22 12:08:32 +02:00
Michael Niedermayer
1617a89cf0
Merge commit '29216d7fd14d1cec16821867d17c90b5c49e8c07'
...
* commit '29216d7fd14d1cec16821867d17c90b5c49e8c07':
tls: fix compilation when both gnutls and openssl are enabled
See: e91fbfd9cf
Merged-by: Michael Niedermayer <michaelni@gmx.at>
2015-05-22 11:54:16 +02:00
James Almer
29216d7fd1
tls: fix compilation when both gnutls and openssl are enabled
...
Signed-off-by: Martin Storsjö <martin@martin.st>
2015-05-22 12:21:38 +03:00
James Almer
e91fbfd9cf
tls: fix compilation when both gnutls and openssl are enabled
...
Signed-off-by: James Almer <jamrial@gmail.com>
2015-05-22 00:33:33 -03:00
Urvang Joshi
f99fed733d
WebP encoder: extract out some methods into a separate helper library.
...
This is the 2nd patch in preparation for using WebPAnimEncoder API for encoding
and muxing WebP images.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-05-22 03:16:59 +02:00
Michael Niedermayer
a0124b89e3
Merge commit '94599a6de3822b13c94096d764868128f388ba28'
...
* commit '94599a6de3822b13c94096d764868128f388ba28':
tls: Remove all the local polling loops
Merged-by: Michael Niedermayer <michaelni@gmx.at>
2015-05-22 02:49:38 +02:00
Michael Niedermayer
9221e362fd
Merge commit 'd13b124eaf452b267480074b2e6946538ed03a6e'
...
* commit 'd13b124eaf452b267480074b2e6946538ed03a6e':
tls: Remove the nonblocking code
Merged-by: Michael Niedermayer <michaelni@gmx.at>
2015-05-22 02:38:11 +02:00
Michael Niedermayer
162644c833
Merge commit 'd15eec4d6bdfa3bd4c4b5b7dd2dbd699ba253d02'
...
* commit 'd15eec4d6bdfa3bd4c4b5b7dd2dbd699ba253d02':
tls: Use custom IO to read from the URLContext
Merged-by: Michael Niedermayer <michaelni@gmx.at>
2015-05-22 02:28:27 +02:00
Urvang Joshi
6b56fcbd10
WebP muxer: support a packet containing animated WebP.
...
This is the 1st patch in preparation for using WebPAnimEncoder API for encoding
and muxing WebP images.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-05-22 00:17:53 +02:00
Martin Storsjö
94599a6de3
tls: Remove all the local polling loops
...
These aren't necessary any longer.
Signed-off-by: Martin Storsjö <martin@martin.st>
2015-05-22 00:06:11 +03:00
Martin Storsjö
d13b124eaf
tls: Remove the nonblocking code
...
Since the underlying URLContext read functions are used,
they handle interruption, without having to handle it at
this level.
Signed-off-by: Martin Storsjö <martin@martin.st>
2015-05-22 00:05:01 +03:00
Martin Storsjö
d15eec4d6b
tls: Use custom IO to read from the URLContext
...
This avoids hijacking the fd, by reading using the normal
URLContext functions instead. This allowing reading data that has
been buffered in the underlying URLContext.
This avoids using the libraries own send functions that can
cause SIGPIPE.
The fd is still used for polling the lowlevel socket, for
waiting for retries.
Signed-off-by: Martin Storsjö <martin@martin.st>
2015-05-22 00:04:32 +03:00
Michael Niedermayer
1c6ede3360
doc/ffmpeg: basic documentation for -copy/ignore_unknown
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-05-21 22:32:24 +02:00
Zhang Rui
c886dd2f58
avformat/mov: check result of avio_seek
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-05-21 18:48:18 +02:00
Michael Niedermayer
18833daf9d
ffmpeg: Support copying unknown streams
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-05-21 18:21:38 +02:00
周晓勇
33e9473366
avcodec/mips: loongson fix bugs in mathops optimization
...
the incorrect UMULH, ff_sqrt, MAC64 and MLS64 to be optimized later, delete them just for now.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-05-21 17:46:33 +02:00
Michael Niedermayer
818275bbd0
avutil/pixfmt: s/luma sample positions/horizontal luma sample positions/
...
Better to be explicit before someone thinks this could be the time axis ...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-05-21 12:48:16 +02:00
Michael Niedermayer
8a141ad5e8
avutil/pixfmt: make luma sample positions even more explicit in the AVChromaLocation ASCII art
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-05-21 12:44:23 +02:00
Michael Niedermayer
b95df4c371
avutil/pixfmt: Clarify mpeg example comments for AVChromaLocation
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-05-21 12:40:29 +02:00
Michael Niedermayer
acccc28713
avutil/pixfmt: clarify chroma location text further, as "first" is ambigous
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-05-21 12:35:22 +02:00
Michael Niedermayer
a3b0130dee
avutil/pixfmt: Clarify that the ASCII art describes the location of the first chroma sample of AVChromaLocation
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-05-21 12:30:46 +02:00
Michael Niedermayer
0b9d636877
ffmpeg_opt: add missing space in error message
...
Found-by: rcombs
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-05-21 01:47:50 +02:00
Michael Niedermayer
737b0ca65b
Merge remote-tracking branch 'cehoyos/master'
...
* cehoyos/master:
lavc/qdrw: Do not fail decoding valid Quickdraw images.
lavf/mov: Use AVCOL_SPC constants when checking color_space.
lavf/mov: Write colour matrix "6" for color_space bt470bg.
lavf/mkv: Only skip prores header if the packet is large enough.
Merged-by: Michael Niedermayer <michaelni@gmx.at>
2015-05-21 01:26:36 +02:00
Michael Niedermayer
592b053c7b
ffmpeg_opt: fix the error message log level for the unsupported stream types
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-05-21 01:10:53 +02:00
Michael Niedermayer
100df10b0f
ffmpeg_opt: Give the user a hint on how to ignore unsupported streams
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-05-21 01:10:53 +02:00
James Almer
40bf3687a1
libvpx: add support for yuv440p and yuv440p10/12 encoding
...
Reviewed-by: James Zern <jzern@google.com>
Signed-off-by: James Almer <jamrial@gmail.com>
2015-05-20 20:08:56 -03:00
Carl Eugen Hoyos
209e91cbc4
lavc/qdrw: Do not fail decoding valid Quickdraw images.
2015-05-21 01:05:13 +02:00
Carl Eugen Hoyos
4fb3efd2c1
lavf/mov: Use AVCOL_SPC constants when checking color_space.
...
Suggested-by: Ronald Bultje
2015-05-21 01:04:57 +02:00
Carl Eugen Hoyos
c4f864193f
lavf/mov: Write colour matrix "6" for color_space bt470bg.
...
This matches the demuxer's behaviour.
2015-05-21 01:04:45 +02:00
Rodger Combs
a2aff2690b
ffmpeg: support ignoring unsupported mapped streams
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-05-21 00:52:06 +02:00
Carl Eugen Hoyos
8f6b919d99
lavf/mkv: Only skip prores header if the packet is large enough.
...
Fixes a possible endless loop.
2015-05-21 00:43:38 +02:00
Michael Niedermayer
642355712b
Merge commit '3efe0393e4f0eaa27bac8833edbd7d3cff4704e1'
...
* commit '3efe0393e4f0eaa27bac8833edbd7d3cff4704e1':
hevc: make avcodec_decode_video2() fail if get_format() fails
Conflicts:
libavcodec/hevc.c
See: cc5e4bb484
Merged-by: Michael Niedermayer <michaelni@gmx.at>
2015-05-20 21:40:05 +02:00
Andreas Cadhalpun
bb23a15df5
nutdec: abort if EOF is reached in decode_info_header/read_sm_data
...
These loops can take a lot of time if count is very large.
Reviewed-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
2015-05-20 20:43:54 +02:00
Vittorio Giovara
265d884eb0
avcodec/vmnc: Add back adapted comment about 24bit
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-05-20 19:24:54 +02:00
Michael Niedermayer
6b783d2ace
Merge commit '7046bd9bc9ce04521edf453c9b603d84d69c7512'
...
* commit '7046bd9bc9ce04521edf453c9b603d84d69c7512':
lavfi: Move avcodec header to the only filter needing it
Conflicts:
libavfilter/avfilter.h
Merged-by: Michael Niedermayer <michaelni@gmx.at>
2015-05-20 19:14:11 +02:00
Andreas Cadhalpun
fa7dec8cb0
nutdec: stop skipping bytes at EOF
...
This can unnecessarily waste a lot of time.
Reviewed-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
2015-05-20 19:07:26 +02:00
Andreas Cadhalpun
37e679881d
nutdec: fix infinite resync loops
...
nut->last_syncpoint_pos doesn't necessarily change between resync
attempts, so find_any_startcode can return the same startcode again.
Thus remember where the last resync happened and don't try to resync
before that.
This can't be done locally in nut_read_packet, because this wouldn't
prevent infinite resync loops, where after the resync a packet is
returned and while reading a following packet the resync happens again.
Reviewed-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
2015-05-20 19:07:26 +02:00
Michael Niedermayer
b6ca7bfc7c
avcodec/vmnc: Simplify "24bit" support
...
This also makes the code more robust, removing potential out of
array writes.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-05-20 18:50:38 +02:00
Michael Niedermayer
a4c7aeaf82
Merge commit 'eafbc6716cede6d4a652f8bedf82f2901c68d06d'
...
* commit 'eafbc6716cede6d4a652f8bedf82f2901c68d06d':
vmnc: Delay pixel size check
Merged-by: Michael Niedermayer <michaelni@gmx.at>
2015-05-20 18:41:43 +02:00
Michael Niedermayer
6d1935d1b9
avcodec/hevc: Remove unused variable
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-05-20 18:15:22 +02:00
周晓勇
f9d05786a8
configure: add cpuflags for loongson3 series cpu
...
Signed-off-by: ZhouXiaoyong <zhouxiaoyong@loongson.cn>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-05-20 17:57:59 +02:00
Michael Niedermayer
b3496b4a33
avformat/nutdec: Fix recovery when immedeately after seeking a failure happens
...
Found-by: Andreas Cadhalpun <andreas.cadhalpun@googlemail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-05-20 17:48:28 +02:00
Michael Niedermayer
6bbb2f8f4d
avformat/nutdec: Return error on EOF from get_str()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-05-20 17:20:58 +02:00