Browse Source

srt_probe: make buffer pointer const

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n1.1
Michael Niedermayer 13 years ago
parent
commit
1be8d0fbda
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/srtdec.c

+ 1
- 1
libavformat/srtdec.c View File

@@ -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