Opened 17 years ago
Last modified 17 years ago
#722 new defect
-af channels=nb breaks stop/restart
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | normal | Component: | af |
Version: | HEAD | Severity: | normal |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Reproduced by developer: | no | Analyzed by developer: | no |
Description
When the command line is treated in af_create(), it uses strsep() to split it.
But strsep() will replace the = by a \0, so the next time af_create() gets called,
typically when stopping then restarting the video, the command line will be
"channels" instead of "channels=2", and later af_channel.c will barf that the
channels number is 0, while it should at least be 1.
The attached patch just re-change the \0 to a '=' once we can do it.
Attachments (1)
Change History (2)
by , 17 years ago
Attachment: | af.c.restore.str.diff added |
---|
comment:1 by , 17 years ago
Note:
See TracTickets
for help on using tickets.
The patch mentionned in the original text