Mercurial > libavformat.hg
comparison avformat.h @ 639:0b52743104ac libavformat
integer overflows, heap corruption
possible arbitrary code execution cannot be ruled out in some cases
precautionary checks
author | michael |
---|---|
date | Sat, 08 Jan 2005 14:21:33 +0000 |
parents | 15cf78d9aceb |
children | c129846f7f02 |
comparison
equal
deleted
inserted
replaced
638:5188094c6ec4 | 639:0b52743104ac |
---|---|
544 void fifo_free(FifoBuffer *f); | 544 void fifo_free(FifoBuffer *f); |
545 int fifo_size(FifoBuffer *f, uint8_t *rptr); | 545 int fifo_size(FifoBuffer *f, uint8_t *rptr); |
546 int fifo_read(FifoBuffer *f, uint8_t *buf, int buf_size, uint8_t **rptr_ptr); | 546 int fifo_read(FifoBuffer *f, uint8_t *buf, int buf_size, uint8_t **rptr_ptr); |
547 void fifo_write(FifoBuffer *f, uint8_t *buf, int size, uint8_t **wptr_ptr); | 547 void fifo_write(FifoBuffer *f, uint8_t *buf, int size, uint8_t **wptr_ptr); |
548 int put_fifo(ByteIOContext *pb, FifoBuffer *f, int buf_size, uint8_t **rptr_ptr); | 548 int put_fifo(ByteIOContext *pb, FifoBuffer *f, int buf_size, uint8_t **rptr_ptr); |
549 void fifo_realloc(FifoBuffer *f, int size); | 549 void fifo_realloc(FifoBuffer *f, unsigned int size); |
550 | 550 |
551 /* media file input */ | 551 /* media file input */ |
552 AVInputFormat *av_find_input_format(const char *short_name); | 552 AVInputFormat *av_find_input_format(const char *short_name); |
553 AVInputFormat *av_probe_input_format(AVProbeData *pd, int is_opened); | 553 AVInputFormat *av_probe_input_format(AVProbeData *pd, int is_opened); |
554 int av_open_input_stream(AVFormatContext **ic_ptr, | 554 int av_open_input_stream(AVFormatContext **ic_ptr, |