Martin Storsjö
9806b9ab5c
Revert "Don't use expressions with side effects in macro parameters"
...
This reverts commit 25bacd0a0c
.
Since 230b1c070
, the bytewise AV_W*() macros only expand their
argument once, so revert to the more readable version of these.
Signed-off-by: Martin Storsjö <martin@martin.st>
9 years ago
Martin Storsjö
25bacd0a0c
Don't use expressions with side effects in macro parameters
...
AV_WB32 can be implemented as a macro that expands its parameters
multiple times (in case AV_HAVE_FAST_UNALIGNED isn't set and the
compiler doesn't support GCC attributes); make sure not to read
multiple times from the source in this case.
Signed-off-by: Martin Storsjö <martin@martin.st>
9 years ago
Martin Storsjö
7ebdffc353
dxv: Check to make sure we don't overrun buffers on corrupt inputs
...
Signed-off-by: Martin Storsjö <martin@martin.st>
9 years ago
Michael Niedermayer
68eb20801d
avcodec/dxv: Check idx in dxv_decompress_dxt5()
...
Fixes potential out of array read
No testcase available
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
eb8a67de75
avcodec/dxv: Check idx in CHECKPOINT()
...
Fixes out of array read
Fixes Ticket5098
Fixes Ticket5099
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Vittorio Giovara
b2417ee6d1
dxv: Improve error message
10 years ago
Vittorio Giovara
1bcd4a476b
dxv: Support RAW intermediate compression
...
Sample-Id: boombox64.mov
Reported-by: Aarni Koskela
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
10 years ago
Vittorio Giovara
bbf71d46db
dxv: Print texture information after header parsing
10 years ago
Vittorio Giovara
fb2889691c
dxv: Support the original first version
...
DXV 1.0 provided DXT1 with LZF only.
Sample-Id: Orange-Strings-07_640_DXV.mov
Reported-by: Carl Eugen Hoyos
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
10 years ago
Vittorio Giovara
588a5619da
dxv: Parse ancillary encoder information
...
Header does not contain the number of channels, but rather the encoder
version, so rename the variable, and read the additional byte.
10 years ago
Paul B Mahol
92bfc3cd03
avcodec/dxv: remove code that is never reached
...
The function is automatically called.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
10 years ago
Carl Eugen Hoyos
9b2802f0d3
lavc/dxv: Support more real-world old version samples.
10 years ago
Carl Eugen Hoyos
84c9bf62b4
lavc/dxv: Silence "Multiple ff_thread_finish_setup() calls" warnings.
10 years ago
Vittorio Giovara
c45fcf30cf
DXV decoder
...
Support all DXDI and DXD3 normal quality videos.
10 years ago