You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
sdp: Use static const char arrays instead of pointers to strings
Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
@@ -154,8 +154,8 @@ static char *extradata2psets(AVCodecContext *c)
|
|||||||
{
|
{
|
||||||
char *psets, *p;
|
char *psets, *p;
|
||||||
const uint8_t *r;
|
const uint8_t *r;
|
||||||
const char *pset_string = "; sprop-parameter-sets=";
|
static const char pset_string[] = "; sprop-parameter-sets=";
|
||||||
const char *profile_string = "; profile-level-id=";
|
static const char profile_string[] = "; profile-level-id=";
|
||||||
uint8_t *orig_extradata = NULL;
|
uint8_t *orig_extradata = NULL;
|
||||||
int orig_extradata_size = 0;
|
int orig_extradata_size = 0;
|
||||||
const uint8_t *sps = NULL, *sps_end;
|
const uint8_t *sps = NULL, *sps_end;
|
||||||
|
Reference in New Issue
Block a user