srt_probe: make buffer pointer const

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
pull/8/head
Michael Niedermayer 12 years ago
parent 9cb887ed37
commit 1be8d0fbda
  1. 2
      libavformat/srtdec.c

@ -31,7 +31,7 @@ typedef struct {
static int srt_probe(AVProbeData *p)
{
unsigned char *ptr = p->buf;
const unsigned char *ptr = p->buf;
int i, v, num = 0;
if (AV_RB24(ptr) == 0xEFBBBF)

Loading…
Cancel
Save