diff apedec.c @ 7272:643c85503f1f libavcodec

strdup() the default value for rc_eq in AVCodec when setting it in avcodec_get_context_defaults(). The value has to be alloced dinamically rather than statically since it may be freed for example by av_set_string2(). Fix a segmentation fault.
author stefano
date Sun, 13 Jul 2008 21:44:00 +0000
parents 87b1dfb5a98d
children 85ab7655ad4d
line wrap: on
line diff