summaryrefslogtreecommitdiff
path: root/libavcodec/bmp_parser.c
Commit message (Collapse)AuthorAgeFilesLines
* avcodec: Constify all the AVCodecParsersAndreas Rheinhardt2021-04-271-1/+1
| | | | | | | Possible now that the next pointer no longer exists. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* libavcodec/bmp_parser.c: fix a use_of_uninitialized_value in target_dec_fuzzer.Thierry Foucu2020-06-061-0/+1
| | | | | | | the target_dec_fuzzer is checking for the avpkt.data pointer but if the bmp parser cannot combine the frame, the poutbuf is not set. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/bmp_parser: Check fsizeMichael Niedermayer2016-06-061-1/+2
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/bmp_parser: reset stateMichael Niedermayer2016-06-061-1/+3
| | | | | | Fixes part of ticket 5598 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/bmp_parser: Fix remaining sizeMichael Niedermayer2016-06-061-1/+1
| | | | | | Fixes part of ticket 5598 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/bmp_parser: Fix frame_start_found in cross frame casesMichael Niedermayer2016-06-061-1/+4
| | | | | | Fixes part of ticket 5598 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/bmp_parser: Fix stateMichael Niedermayer2016-05-311-0/+2
| | | | | | Fixes Ticket5598 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/bmp_parser: Ensure remaining_size is not too small in startcode ↵Michael Niedermayer2016-04-141-1/+1
| | | | | | | | packet crossing corner case Fixes Ticket 5438 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/bmp_parser: delay frame end detection to the next header or EOFMichael Niedermayer2014-09-131-4/+8
| | | | | | Fixes Ticket3687 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avcodec/bmp_parser: simplifyMichael Niedermayer2014-09-131-5/+3
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avcodec/bmp_parser: fix parsing a single bmp which has a fsize < its headerMichael Niedermayer2014-09-131-10/+21
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Merge commit 'fb5cf145b6bcfa4f83af94398e5560c1132cc410'Michael Niedermayer2014-03-281-2/+2
|\ | | | | | | | | | | | | | | | | | | | | | | | | * commit 'fb5cf145b6bcfa4f83af94398e5560c1132cc410': bmp: add a standalone parser Conflicts: Changelog libavcodec/bmp_parser.c libavcodec/version.h See: 011ce89dba5c0c764abc5f39acb6368f580742e3 and others Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * bmp: add a standalone parserPaul B Mahol2014-03-281-0/+91
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* Merge commit '36ef5369ee9b336febc2c270f8718cec4476cb85'Michael Niedermayer2012-08-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '36ef5369ee9b336febc2c270f8718cec4476cb85': Replace all CODEC_ID_* with AV_CODEC_ID_* lavc: add AV prefix to codec ids. Conflicts: doc/APIchanges doc/examples/decoding_encoding.c doc/examples/muxing.c ffmpeg.c ffprobe.c ffserver.c libavcodec/8svx.c libavcodec/avcodec.h libavcodec/dnxhd_parser.c libavcodec/dvdsubdec.c libavcodec/error_resilience.c libavcodec/h263dec.c libavcodec/libvorbisenc.c libavcodec/mjpeg_parser.c libavcodec/mjpegenc.c libavcodec/mpeg12.c libavcodec/mpeg4videodec.c libavcodec/mpegvideo.c libavcodec/mpegvideo_enc.c libavcodec/pcm.c libavcodec/r210dec.c libavcodec/utils.c libavcodec/v210dec.c libavcodec/version.h libavdevice/alsa-audio-dec.c libavdevice/bktr.c libavdevice/v4l2.c libavformat/asfdec.c libavformat/asfenc.c libavformat/avformat.h libavformat/avidec.c libavformat/caf.c libavformat/electronicarts.c libavformat/flacdec.c libavformat/flvdec.c libavformat/flvenc.c libavformat/framecrcenc.c libavformat/img2.c libavformat/img2dec.c libavformat/img2enc.c libavformat/ipmovie.c libavformat/isom.c libavformat/matroska.c libavformat/matroskadec.c libavformat/matroskaenc.c libavformat/mov.c libavformat/movenc.c libavformat/mp3dec.c libavformat/mpeg.c libavformat/mpegts.c libavformat/mxf.c libavformat/mxfdec.c libavformat/mxfenc.c libavformat/nsvdec.c libavformat/nut.c libavformat/oggenc.c libavformat/pmpdec.c libavformat/rawdec.c libavformat/rawenc.c libavformat/riff.c libavformat/sdp.c libavformat/utils.c libavformat/vocenc.c libavformat/wtv.c libavformat/xmv.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
* avcodec: add bmp parserPaul B Mahol2012-08-071-0/+91
Signed-off-by: Paul B Mahol <onemda@gmail.com>