You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
avstring: fix compiler warning about freeing const pointers
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user