1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-15 14:13:16 +02:00

avstring: fix compiler warning about freeing const pointers

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer
2012-11-03 20:10:30 +01:00
parent 73180ecd0a
commit ab796ded75

View File

@@ -252,7 +252,8 @@ int main(void)
}; };
for (i=0; i < FF_ARRAY_ELEMS(strings); i++) { 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); printf("|%s|", p);
q = av_get_token(&p, ":"); q = av_get_token(&p, ":");
printf(" -> |%s|", q); printf(" -> |%s|", q);