diff --git a/libavformat/mpegts.c b/libavformat/mpegts.c index 172f80f77671f2f306918d208bce89edca44aab9..d23dbeedd0a4f78901e4e363b4a9cd3cd314c1c5 100644 --- a/libavformat/mpegts.c +++ b/libavformat/mpegts.c @@ -853,8 +853,8 @@ static PESContext *add_pes_stream(MpegTSContext *ts, int pid, int pcr_pid) return pes; } -static int mp4_read_iods(AVFormatContext *s, uint8_t *buf, unsigned size, - uint16_t *es_id, uint8_t **dec_config_descr, +static int mp4_read_iods(AVFormatContext *s, const uint8_t *buf, unsigned size, + int *es_id, uint8_t **dec_config_descr, int *dec_config_descr_size) { ByteIOContext pb;