Browse Source

sdp: Use static const char arrays instead of pointers to strings

Signed-off-by: Martin Storsjö <martin@martin.st>
tags/n1.0
Martin Storsjö 12 years ago
parent
commit
d4bba93f4d
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      libavformat/sdp.c

+ 2
- 2
libavformat/sdp.c View File

@@ -154,8 +154,8 @@ static char *extradata2psets(AVCodecContext *c)
{
char *psets, *p;
const uint8_t *r;
const char *pset_string = "; sprop-parameter-sets=";
const char *profile_string = "; profile-level-id=";
static const char pset_string[] = "; sprop-parameter-sets=";
static const char profile_string[] = "; profile-level-id=";
uint8_t *orig_extradata = NULL;
int orig_extradata_size = 0;
const uint8_t *sps = NULL, *sps_end;


Loading…
Cancel
Save