Luca Barbato and Diego Biurrun
a1f5164814
vc1dsp: K&R formatting cosmetics
...
Signed-off-by: Diego Biurrun <diego@biurrun.de >
2014-01-12 18:33:25 +01:00
Luca Barbato
e61b8fa560
configure: Update freetype check to follow upstream
...
The freetype tutorial suggests to use #include FT_FREETYPE_H.
Bug-Id: 616
2014-01-06 11:44:10 +01:00
Luca Barbato
d68dc3c944
drawtext: Drop pointless header
...
It should be forward compatible with newer freetype.
2014-01-06 11:44:10 +01:00
Luca Barbato
9a4c10e3af
lavu: Move preprocessor macros in a separate file
...
And remove all the circular inclusions of avutil.h while at it.
2013-12-29 22:52:04 +01:00
Luca Barbato
4d2bb28931
h264: namespace the decode function
...
Make much easier debugging.
2013-12-27 07:48:13 +01:00
Luca Barbato
1ab91c7d4a
doxy: Update the css to have a flat style
...
Drop references to the doxy image gradients and style a the code blocks to
keep the whitespace and indent properly.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
2013-12-27 02:53:25 +01:00
Luca Barbato
9ace13db77
doxy: Fix link in badge color
...
Green on blue was not exactly optimal.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
2013-12-27 02:53:25 +01:00
Luca Barbato
1716b4c7b8
mms: Remove non-utf8 characters
...
Certain softwares get badly confused.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
2013-12-26 06:07:35 +01:00
Luca Barbato
f412b2c9f3
flv: Use the correct type to hold the file offset
2013-12-20 17:44:20 +01:00
Luca Barbato
15739a9bd1
jvdec: Do not feed the decoder with known wrong data
...
Still assume the size value is right in non-explode mode.
2013-12-20 17:44:20 +01:00
Luca Barbato
027712e851
jvdec: Return EOF on end of file
2013-12-20 17:44:20 +01:00
Luca Barbato and Vittorio Giovara
3a149e23d3
hevc: Refactor decode_nal_sei_frame_packing_arrangement
...
Directly set the fields when necessary.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com >
2013-12-17 09:34:08 +01:00
Luca Barbato
c85aad9cb2
doxy: Define a group for libswscale documentation
...
Uniform the style and eliminate a warning on newer doxygen version..
2013-12-13 23:53:30 +01:00
Luca Barbato
a5a3b398fd
configure: Reorder pthreads checks
...
Some pthreads symbols might be present in libc (as shown on various *BSD)
but not all of them, leading to false positives.
Check for the most common compiler flags before the plain symbol check
to avoid known pitfalls.
2013-12-13 23:53:30 +01:00
Luca Barbato
7cbe1ea9df
configure: Move the bz2 and zlib checks below phtreads
...
There are alternate implementations of those libraries that use pthreads.
2013-12-13 23:53:30 +01:00
Luca Barbato
f058f384a0
configure: Do not use pthread_create to check for pthread
...
Certain instrumentation addons leads to a false positive in configure
and link failures at the end of the build phase.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
2013-11-30 13:01:35 +01:00
Luca Barbato
08303d7741
hwaccel: Simplify ff_find_hwaccel
...
It is always called by passing fields from an AVCodecContext.
2013-11-10 13:59:48 +01:00
Luca Barbato and Diego Biurrun
037fea388e
flashsv: K&R formatting cosmetics
...
Also improve some log message wording/spelling.
Signed-off-by: Diego Biurrun <diego@biurrun.de >
2013-11-01 22:32:53 +01:00
Luca Barbato
4a64e67988
flashsv: Refactor a little
2013-11-01 19:38:53 +01:00
Luca Barbato
e789130522
configure: Provide an hardened toolchain option
2013-10-29 11:36:00 +01:00
Luca Barbato
dcd3eda6cb
configure: Move gcc-only -W option where it belongs
2013-10-29 11:36:00 +01:00
Luca Barbato
53151723e3
avio: K&R formatting cosmetics
2013-10-28 00:04:50 +01:00
Luca Barbato
0749314886
h263: Return meaningful errors
2013-10-28 00:04:49 +01:00
Luca Barbato
de6061203e
configure: Disable -Wmaybe-uninitialized by default
...
It is by definition unreliable and causes pointless noise on valid
code.
2013-10-28 00:04:49 +01:00
Luca Barbato and Diego Biurrun
1ce3ec24b3
h263: K&R formatting cosmetics
...
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com >
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
Signed-off-by: Diego Biurrun <diego@biurrun.de >
2013-10-23 13:17:23 +02:00
Luca Barbato
72072bf9de
mpegvideo: Drop a faulty assert
...
That check is easily reachable by faulty input.
CC:libav-stable@libav.org
Reported-by: Torsten Sadowski <tsadowski@gmx.net >
2013-10-23 10:49:48 +02:00
Luca Barbato
f825d42bcc
avplay: Accept cpuflags option
...
Quite useful for debugging.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
2013-10-22 10:49:31 +02:00
Luca Barbato
ea71aafd68
avio: Use AVERROR_PROTOCOL_NOT_FOUND
...
When the protocol is missing ffurl_alloc() should return
AVERROR_PROTOCOL_NOT_FOUND instead of AVERROR(ENOENT).
Bug-Id: 577
CC: libav-stable@libav.org
2013-10-21 15:55:20 +02:00
Luca Barbato
2b72f8ac32
wtv: Seek by sector properly
...
Use an helper function to seek by sector to avoid possible mistakes
due shifting by WTV_SECTOR_BITS a 32bit integer.
Contrary to common intuition, a 32 bit integer left shifted
by a 64 bit integer does not promote the 32 bit integer to
64 bit before shifting.
2013-10-18 15:08:18 +02:00
Luca Barbato
825c7c62bb
mpegvideo: Move 8x8 in a separate function
2013-10-15 23:58:20 +02:00
Luca Barbato
95587859cc
mpegvideo: Move obmc in a separate function
2013-10-15 23:58:20 +02:00
Luca Barbato
a90905db2e
ffv1: Assume bitdepth 0 means 8bit
...
CC: libav-stable@libav.org
Reported-by: debian/726189
2013-10-15 23:58:20 +02:00
Luca Barbato
a84616b736
mpegvideo: K&R formatting cosmetics
2013-10-15 23:58:20 +02:00
Luca Barbato
39185ec4fa
cavs: Check for negative cbp
...
Sample-Id: 00000647-google
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
2013-10-13 17:52:53 +02:00
Luca Barbato
1b20d0f581
cavs: Return meaningful error values
2013-10-13 17:52:53 +02:00
Luca Barbato
14ddbb477f
cavs: K&R formatting cosmetics
2013-10-13 17:52:53 +02:00
Luca Barbato
c9ef6b0932
indeo4: Check the inherited quant_mat
...
Invalidate it if not supported.
Sample-Id: 00000262-google
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
2013-10-13 01:38:21 +02:00
Luca Barbato
0cb83c5638
indeo4: Check the block size if reusing the band configuration
...
Sample-Id: 00000287-google
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
2013-10-13 01:38:20 +02:00
Luca Barbato
c0de9a23c7
prores: Reject negative run and level values
...
Sample-Id: 00000611-google
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
2013-10-10 21:02:10 +02:00
Luca Barbato
2df7f7714a
prores: Error out only on surely incomplete ac_coeffs
2013-10-10 10:26:31 +02:00
Luca Barbato
44690dfa68
prores: Add a codepath for decoding errors
2013-10-10 09:47:03 +02:00
Luca Barbato
ceec6e792e
avi: directly resync on DV in AVI read failure
...
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
2013-10-10 07:28:17 +02:00
Luca Barbato
756547ce7f
avi: DV in AVI must be considered single stream
...
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
2013-10-10 07:28:03 +02:00
Luca Barbato
1cac9accbd
avi: properly fail if the dv demuxer is missing
...
CC: libav-stable@libav.org
2013-10-10 07:27:50 +02:00
Luca Barbato
1018a92219
jpeg2000: Check block length
...
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
2013-10-09 22:25:19 +02:00
Luca Barbato
071e29af4d
vmnc: Use meaningful return values
2013-10-09 22:25:01 +02:00
Luca Barbato
5e992a4682
vmnc: Check the cursor dimensions
...
And manage the reallocation failure path.
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
2013-10-09 22:25:01 +02:00
Luca Barbato
61cd19b8bc
vmnc: Port to bytestream2
...
Fix some buffer overreads.
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
2013-10-09 22:25:01 +02:00
Luca Barbato
a66aa0daf2
vmnc: K&R formatting cosmetics
...
Signed-off-by: Diego Biurrun <diego@biurrun.de >
2013-10-09 22:25:01 +02:00
Luca Barbato
b2148faca9
shorten: Extend fixed_coeffs to properly support pred_order 0
...
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
2013-10-09 03:34:10 +02:00
Luca Barbato
4272bb6ef1
doxy: Document avlog
...
Provide some information for every function and add a group.
2013-10-05 18:09:45 +02:00
Luca Barbato
628a17d78a
rtmp: alias rtmp_listen to listen
...
Make it uniform with the other protocols.
2013-10-01 15:42:06 +02:00
Luca Barbato
ad0560fe74
mxf: Remove a typo
...
Introduced in 93370d1216
2013-10-01 13:43:48 +02:00
Luca Barbato
5c349ad08a
lxf: check the nb_streams instead of relying on padding
...
Remove the now unneeded stream pointer while at it.
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
2013-09-27 01:33:46 +02:00
Luca Barbato
c951e4b442
flv: Make onTextData parsing robust
...
Certain streaming servers do not preserve the order of the fields.
2013-09-22 01:10:17 +02:00
Luca Barbato
ba77757a7e
rtmp: Replace a magic number with a macro
...
11 is the RTMP header size.
2013-09-22 01:09:33 +02:00
Luca Barbato
5840473890
rtmp: Rewrite embedded flv handling
...
Use update_offset() as done for rtmp audio, video and notifications and
read update and write the fields instead of replacing them in the rtmp
packet and then memcpying it to the output buffer.
2013-09-22 01:09:33 +02:00
Luca Barbato
e40a0e8228
rtmp: Refactor get_packet
2013-09-22 01:09:33 +02:00
Luca Barbato
32a414f316
rtmp: Support AMF_DATA_TYPE_MIXEDARRAY
...
And fix the AMF_DATA_TYPE_ARRAY parsing while at it.
A MIXEDARRAY type, as the ARRAY, store the number of elements in
an uint32 before the list. The ARRAY is strict and does not have
an OBJECT terminator, MIXEDARRAY behaves like an OBJECT type and
a different than stated number of element can be present.
2013-09-22 01:06:42 +02:00
Luca Barbato
5532ee6d7d
rtmp: Unbreak get_packet
...
Commit 5626f994f2 broke it.
2013-09-20 13:38:22 +02:00
Luca Barbato
e5d45e028c
build: Support cparser
2013-09-19 21:53:21 +02:00
Luca Barbato
ae0f316a47
rtmp: Unbreak handle_notify
...
Commit 5626f994f2 broke it.
2013-09-19 09:13:04 +02:00
Luca Barbato
c38854c399
doc: Add missing hashes and dates to APIChanges
...
Also fix the typo in the last entry version.
2013-09-17 13:31:54 +02:00
Luca Barbato and Martin Storsjö
596e5d4783
lavf: Add a flag to enable/disable per-packet flushing
...
This is enabled by default and can be disabled with
"-fflags -flush_packets".
Inspired by a patch from Nicolas George <nicolas.george@normalesup.org >.
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-09-16 22:11:08 +03:00
Luca Barbato
0a9425d7cf
flv: Do not export datastream as metadata
...
It is used internally.
2013-09-16 19:36:37 +02:00
Luca Barbato
92ed83e393
rtmp: Store all the notify messages
...
The onTextData is used to implement text data streams in flv.
2013-09-16 19:36:37 +02:00
Luca Barbato
fe0337e89b
rtmp: Do not send the first field twice within the handshake
2013-09-16 19:36:37 +02:00
Luca Barbato
666ed7eda1
rtmp: Drop an unneeded warning
...
Apparently a widely used streaming server requires that the second
field always presents a version during C1 phase.
2013-09-16 19:36:37 +02:00
Luca Barbato
ffb7669e47
rtmp: Support play method in listen mode
2013-09-16 19:36:37 +02:00
Luca Barbato
97d35fa89f
rtmp: Factor out publish specific code
...
Will be reused for supporting play.
2013-09-16 19:36:37 +02:00
Luca Barbato
3feb3d6ce4
mem: Introduce av_reallocp
2013-09-16 19:36:37 +02:00
Luca Barbato
7ee191cab0
dv: Add a guard to not overread the ppcm array
...
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
2013-09-07 11:18:01 +02:00
Luca Barbato
85ac12587b
nuv: check ff_rtjpeg_decode_frame_yuv420 return value
...
CC: libav-stable@libav.org
2013-09-07 11:11:52 +02:00
Luca Barbato
b4ec7a5fee
mem: Document the av_realloc family of functions properly
...
realloc() does not accept pointers from memalign().
2013-09-04 10:56:41 +02:00
Luca Barbato
7f9e893f56
build: Report an error message when a pc file is not found
...
Ease tracking path problems.
2013-09-04 09:47:06 +02:00
Luca Barbato
48f2e53ad0
doc: document the asf demuxer
...
And drop a typo from the previous FLV entry.
2013-08-28 11:02:56 +02:00
Luca Barbato
b1f9cdc37f
ac3: Return proper error codes
2013-08-27 16:19:12 +02:00
Luca Barbato
818d1f1a3e
ac3: Clean up the error paths
2013-08-27 16:19:12 +02:00
Luca Barbato
6258d362b8
ac3: Do not clash with normal AVERROR
...
The parsing function return AVERROR and AAC_AC3_PARSE_ERROR values,
make sure they are not misunderstood.
2013-08-27 16:19:12 +02:00
Luca Barbato
f4634ae8a8
flv: Fix the help string
2013-08-27 14:38:54 +02:00
Luca Barbato
21015109ec
doc: Document the flv demuxer
2013-08-27 14:38:19 +02:00
Luca Barbato
b89e8759e0
mov: Write tmcd extradata
2013-08-25 13:49:21 +02:00
Luca Barbato
5b41eb91e0
mov: Parse tmcd extradata
2013-08-25 13:49:13 +02:00
Luca Barbato
0b5af5cf12
mov: Refactor multiple stsd skipping in mov_mov_skip_multiple_stsd
2013-08-24 17:02:23 +02:00
Luca Barbato
08504380dd
mov: Refactor codec specific final steps in mov_finalize_stsd_codec
2013-08-24 17:02:23 +02:00
Luca Barbato
dc518a3ae2
mov: Refactor subtitle specific parsing in mov_parse_stsd_subtitle
2013-08-24 17:02:23 +02:00
Luca Barbato
ef196beeb5
mov: Refactor audio specific parsing in mov_parse_stsd_audio
2013-08-24 17:02:23 +02:00
Luca Barbato
a3b53ff062
mov: Refactor video specific parsing in mov_parse_stsd_video
2013-08-24 17:02:23 +02:00
Luca Barbato
bf98562505
mov: Refactor codec id selection in mov_codec_id
2013-08-24 17:02:23 +02:00
Luca Barbato
67400f6b62
mov: Prevent segfaults on mov_write_hdlr_tag
...
Do not segfault when writing tracks such as tmcd by writing them down
as generic DataHandlers if not known.
2013-08-20 00:22:58 +02:00
Luca Barbato
22de0f8369
mov: Compute max duration among the tracks with a timescale
...
Prevent an assert.
2013-08-20 00:22:58 +02:00
Luca Barbato
3952303010
mov: Set the timescale for data streams
...
Data streams have a defined timebase, do not ignore it.
2013-08-20 00:22:58 +02:00
Luca Barbato
59f595921e
mkv: Flush the old cluster before writing a new one
...
This simplifies keeping track of cluster boundaries for e.g.
livestreaming of WebM.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
2013-08-19 22:47:06 +02:00
Luca Barbato
98308bd44f
mkv: Add options for specifying cluster limits
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
2013-08-19 22:46:31 +02:00
Luca Barbato
148fbdd1c2
mkv: Refactor mkv_write_packet
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
2013-08-19 17:21:15 +02:00
Luca Barbato
5ef7c84a93
dxa: Make sure the reference frame exists
...
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
2013-08-16 14:56:56 +02:00
Luca Barbato
c59967fa7c
h261: check the mtype index
...
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
2013-08-16 14:56:49 +02:00
Luca Barbato
5268bd2900
segafilm: Error out on impossible packet size
...
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
2013-08-13 15:14:07 +02:00
Luca Barbato
3562684db7
ogg: Always alloc the private context in vorbis_header
...
It is possible to have an initial broken header and then valid packets.
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
2013-08-13 14:04:55 +02:00
Luca Barbato
f13fe6020e
rtjpeg: Use init_get_bits8
...
CC:libav-stable@libav.org
2013-08-13 14:04:55 +02:00