Commit ab796ded authored by Michael Niedermayer's avatar Michael Niedermayer

avstring: fix compiler warning about freeing const pointers

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 73180ecd
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment