mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-03-23 04:24:35 +02:00
avstring: fix compiler warning about freeing const pointers
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
73180ecd0a
commit
ab796ded75
@ -252,7 +252,8 @@ int main(void)
|
||||
};
|
||||
|
||||
for (i=0; i < FF_ARRAY_ELEMS(strings); i++) {
|
||||
const char *p = strings[i], *q;
|
||||
const char *p = strings[i];
|
||||
char *q;
|
||||
printf("|%s|", p);
|
||||
q = av_get_token(&p, ":");
|
||||
printf(" -> |%s|", q);
|
||||
|
Loading…
x
Reference in New Issue
Block a user