[FFmpeg-devel] [PACTH] Fix another problem in av_set_string()

Stefano Sabatini stefano.sabatini-lala
Tue May 13 09:38:58 CEST 2008

Hi all,

since evaluation occurs on the buffer buf:
d = ff_eval2(buf, const_values, const_names, NULL, NULL, NULL, NULL, NULL, &error);

then avlog should report it when telling there was a parsing error here:
if (error)
   av_log(NULL, AV_LOG_ERROR, "Unable to parse option value \"%s\": %s\n", val, error);
while the val contains the remaining part of the argument string still
to be evaluated.

This pach does s/val/buf/ in the abovementioned line.

FFmpeg = Fast & Furious Magic Pitiless EntanGlement
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix-av-set-string-00.patch
Type: text/x-diff
Size: 587 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080513/cec8ee04/attachment.patch>

More information about the ffmpeg-devel mailing list