Opened 17 years ago

Last modified 17 years ago

#722 new defect

-af channels=nb breaks stop/restart

Reported by: cognet@… Owned by: reynaldo@…
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)

af.c.restore.str.diff (355 bytes ) - added by cognet@… 17 years ago.
The patch mentionned in the original text

Download all attachments as: .zip

Change History (2)

by cognet@…, 17 years ago

Attachment: af.c.restore.str.diff added

The patch mentionned in the original text

comment:1 by cognet@…, 17 years ago

Note: See TracTickets for help on using tickets.