Carl Eugen Hoyos
9bc281beae
lavf/icodec: Improve autodetection.
...
Avoids misdetection of MPEG (B-)frames.
Reviewed-by: Michael Bradshaw
9 years ago
Michael Bradshaw
244184217c
Return EOF for ICO when the end is reached
9 years ago
Michael Niedermayer
dd77f6469a
avformat/ico: use avmalloc(z)_array()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
4f0e85517f
avformat/icodec: reduce score returned on probing
...
The ico probe function is pretty weak just checking a few bytes for being 0, 1 or not 0
Fixes probetest failure
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Paul B Mahol
a9b424879f
lavc & lavf: replace deprecated av_log* functions
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Peter Ross
3a1df393b8
ico: favour BITMAPHEADER dimensions over IconEntry dimensions
...
Fixes ticket 759.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Peter Ross
051257495a
ico: reject icon entries that are smaller than sizeof(BITMAPHEADER)
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Peter Ross
90dbd08127
ico: ignore IconEntry.bpp value, and favour BITMAPHEADER.NumColors value over that in IconEntry
...
Fixes ticket 905.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Peter Ross
bd3a12d68d
ico: consider IconEntry.NumColors of 255 to be ambiguous
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Peter Ross
ba8410cb44
Microsoft Windows ICO demuxer
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago