Martin Storsjö
2d9d6afb8d
movenc: Factorize adding fragment info into a separate function
By calling this after writing the moof the first time (for
calculating the moof size), we can avoid intermediate storage
of tfrf_offset in MOVTrack.
Signed-off-by: Martin Storsjö <martin@martin.st>
11 years ago
Martin Storsjö
0f9eb9165b
movenc: Include empty tracks in iods when writing fragmented mp4
When writing fragmented streams with an empty initial moov,
we won't have any samples in any tracks when writing the
moov atom, thus trust that any tracks that are added actually
will be present.
Signed-off-by: Martin Storsjö <martin@martin.st>
11 years ago
Andrew Stone
c64f361511
flvenc: Send new metadata when FLAG_METADATA_UPDATED is set.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
11 years ago
Andrew Stone
4d0cd5f58c
flvenc: move metadata updates into a single function
Signed-off-by: Anton Khirnov <anton@khirnov.net>
11 years ago
Anton Khirnov
8b573ddda7
hevc: remove superfluous assignments and checks
11 years ago
Anton Khirnov
eac3ac1fe0
hevc: eliminate an unneeded intermediate variable
11 years ago
Anton Khirnov
eb335f3c5c
hevc: reduce variable scope
Also, collapse the array into a scalar, since only one value is needed
at a time.
11 years ago
Anton Khirnov
84c0ece5fd
hevc: further reduce code duplication in hls_prediction_unit()
11 years ago
Anton Khirnov
a7b365ae19
hevc: reduce code duplication in hls_prediction_unit()
11 years ago
Anton Khirnov
de1f8ead89
hevcdsp_template: templatize transquant_bypass
11 years ago
Anton Khirnov
16c01fb434
hevc: remove an unused function parameter
11 years ago
Anton Khirnov
84b9463984
hevc: remove a redundant line
pred_mode is overwritten a few lines immediately below.
11 years ago
Anton Khirnov
2c6a7f9348
hevc: do not store rqt_root_cbf in the context
It does not need to be accessed outside of hls_coding_unit().
11 years ago
Anton Khirnov
920bca3e23
hevc: do not store pcm_flag in the context
It does not need to be accessed outside of hls_coding_unit().
11 years ago
Martin Storsjö
c00365b46d
aarch64: Make the function pointer tables position independent
This allows running the code on android, where 64 bit binaries with
text relocations aren't allowed to be loaded.
Signed-off-by: Martin Storsjö <martin@martin.st>
11 years ago
Michael Niedermayer
2fa6d21124
on2avc: Fix out of array access
CC: libav-stable@libav.org
Bug-Id: CID 1206648
11 years ago
Luca Barbato
74d7db586a
dv: Drop a spurious check
The buffer is always valid.
Bug-Id: CID 700682
11 years ago
Marvin Scholz
8562c1483b
Icecast: Send content-type in all cases
This is needed because Icecast since version 2.4.1 doesn't default
to audio/mpeg anymore. AVOption default not used here, since a later
check if -content_type is set is performed and would break.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
11 years ago
Marvin Scholz
3a6bb97350
Icecast: Send 100-continue header if possible
This allows for proper error reporting. Only do
this for non-legacy requests as only Icecast >2.4.0
will reply with a proper status.
Libav seems to accept both, 100 and 200 status codes, but
let's stay close to spec.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
11 years ago
Kieran Kunhya
2e1704059a
vf_interlace: Add SIMD for lowpass filter
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
11 years ago
Vittorio Giovara
d16ec1b6db
atrac3plus: always initialize refwaves
CC: libav-stable@libav.org
Bug-Id: CID 1163851
11 years ago
Vittorio Giovara
60e0ee7ca2
lpc: always initialize ref and err
CC: libav-stable@libav.org
Bug-Id: CID 29585 / CID 700759
11 years ago
Vittorio Giovara
3a6ddfb874
exr: check return value
CC: libav-stable@libav.org
Bug-Id: CID 1198259
11 years ago
Thilo Borgmann
e4cb6abb2f
bgmc: fix sizeof arguments
CC: libav-devel@libav.org
Bug-Id: CID 608084 / CID 700724
11 years ago
Vittorio Giovara
4b39cc1a09
riff: support ProRes in avi (APCN fourcc)
11 years ago
Vittorio Giovara
a2448cfe16
jpeg2000: do not compute the same value twice
CC: libav-stable@libav.org
Bug-Id: CID 1026771 / CID 1026772 / CID 1026773
11 years ago
Vittorio Giovara
59846452af
svq1enc: check ff_get_buffer return value
CC: libav-stable@libav.org
Bug-Id: CID 747723
11 years ago
Vittorio Giovara
994ab1804b
ansi: check ff_set_dimensions return value
CC: libav-stable@libav.org
Bug-Id: CID 1135737
11 years ago
Vittorio Giovara
c7384664ba
avs: check ff_set_dimensions return value
CC: libav-stable@libav.org
Bug-Id: CID 1135738
11 years ago
Vittorio Giovara
2b5c1efa14
g2meet: check ff_set_dimensions return value
CC: libav-stable@libav.org
Bug-Id: CID 1135739
11 years ago
Vittorio Giovara
c6d7c201df
indeo3: check ff_set_dimensions return value
CC: libav-stable@libav.org
Bug-Id: CID 1135740
11 years ago
Vittorio Giovara
8e104619a6
shorten: check for return value
Avoid a possible negative bitshift.
CC: libav-stable@libav.org
Bug-Id: CID 1194400
11 years ago
Vittorio Giovara
d5d2d6c3b8
dcadec: initialize variables before use
CC: libav-stable@libav.org
Bug-Id: CID 700751 / CID 700752
11 years ago
Vittorio Giovara
1a9c1333b5
escape124: explicitly set get_bits1 variable
Makes coverity less confused.
CC: libav-stable@libav.org
Bug-Id: CID 1203487
11 years ago
Vittorio Giovara
2ffb0598db
mlpdec: check for negative index
CC: libav-stable@libav.org
Bug-Id: CID 970924
11 years ago
Vittorio Giovara
6abe7edabb
ffv1: fix out-of-bounds read
CC: libav-stable@libav.org
Bug-Id: CID 1047234
11 years ago
Vittorio Giovara
5aa710f461
vorbisenc: add missing parenthesis
Bug-Id: CID 1238791
11 years ago
Vittorio Giovara
e9a6ae775d
dpxenc: mention missing break
Bug-Id: CID 732229
11 years ago
Vittorio Giovara
4dda5e9b08
sunrastenc: mention missing break
Bug-Id: CID 732231
11 years ago
Vittorio Giovara
28d82b7675
vc1dec: refactor check with missing parenthesis
FATE tests updated accordingly, no visual difference.
CC: libav-stable@libav.org
Bug-Id: CID 1087087
11 years ago
Vittorio Giovara
2c98dc75f2
vc1dec: always initialize tx and ty
CC: libav-stable@libav.org
Bug-Id: CID 1245702 / CID 1245703
11 years ago
Vittorio Giovara
e3f50f2471
dnxhdenc: check negative index
CC: libav-stable@libav.org
Bug-Id: CID 700464
11 years ago
Vittorio Giovara
b1b1a7370e
display: fix order of operands
CC: libav-stable@libav.org
Bug-Id: CID 1238828 / CID 1238832
11 years ago
Vittorio Giovara
bdcb5794f0
nellymoserenc: fix array index
CC: libav-stable@libav.org
Bug-Id: CID 732258
11 years ago
Michael Niedermayer
aa7c429c4e
nellymoserenc: fix array element ordering
Fixes assertion failures and valgrind warnings in trellis encoder.
CC: libav-stable@libav.org
Bug-Id: CID 732256 / CID 732257
11 years ago
Vittorio Giovara
8dd0a2c5cf
libopusenc: prevent an out-of-bounds read by returning early
CC: libav-stable@libav.org
Bug-Id: CID 1244188
11 years ago
Vittorio Giovara
b09cf8afc5
libopusenc: check return value
CC: libav-stable@libav.org
Bug-Id: CID 739870
11 years ago
Michael Niedermayer
29234f5681
vp7: fix checking vp7_feature_value_size()
CC: libav-stable@libav.org
Bug-Id: CID 1197061
11 years ago
Vittorio Giovara
68a35473ed
4xm: more thorought check for negative index and negative shift
CC: libav-stable@libav.org
Bug-Id: CID 1087094
11 years ago
Luca Barbato
c9c7d59b7d
tiff: Use av_mallocz_array
CC: libav-stable@libav.org
11 years ago