Carl Eugen Hoyos
4d8875ec23
lavf: Constify the probe function argument.
...
Reviewed-by: Lauri Kasanen
Reviewed-by: Tomas Härdin
6 years ago
Andreas Cadhalpun
dbefbb61b7
sbgdec: prevent NULL pointer access
...
Reviewed-by: Josh de Kock <josh@itanimul.li>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
8 years ago
Michael Niedermayer
ce4e57dbb5
avformat/sbgdec: Check alloc_array_elem() return value
...
Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Clément Bœsch
14f3e8b821
avformat/sbgdec: remove double ;;
10 years ago
Michael Niedermayer
5ece4f8b73
avformat/sbgdec: Use localtime_r() for thread saftey
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Paul B Mahol
a807c68253
avformat: use ff_alloc_extradata()
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years ago
Nicolas George
ca4872e887
lavf/sbgdec: use proper constants for av_log().
12 years ago
Nicolas George
e9b8523d52
sbgdec: dont set slide to a uninitialized value
...
Fixed CID703833
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Nicolas George
b6ff81d63b
sbgdec: read_seek was undeprecated.
13 years ago
Nicolas George
b0aaf304a7
Replace PATCHWELCOME by relevant error codes.
...
This supersedes commit 154c0a8
.
The bug was also reported by Rafaël Carré.
13 years ago
Michael Niedermayer
154c0a8c98
replace ENOTSUP by AVERROR_PATCHWELCOME
...
This unbreaks compilation
Found by: jb
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Nicolas George
6d7b50117a
sbgdec: change -1 into AVERROR(EINVAL).
...
This is not as accurate as ELOOP, but there is an explicit error message
just before anyway.
13 years ago
Michael Niedermayer
4734fb0ece
sbgdec: Replace ELOOP by -1 to fix compilation on win32.
...
This should be replaced by a more appropriate error code of course but
we should not leave compilation broken until that is decided.
Found-by: jb
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Nicolas George
9cb6a39c46
sbgdec: replace EOVERFLOW with ENOMEM.
...
This should fix track issue #781 , regarding compilation with
i686-w64-mingw32-gcc.
13 years ago
Nicolas George
2c82ab946b
lavf: add SBG demuxer.
13 years ago