Opened 12 years ago

Last modified 12 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: Analyzed by developer:

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@… 12 years ago.
The patch mentionned in the original text

Download all attachments as: .zip

Change History (2)

Changed 12 years ago by cognet@…

The patch mentionned in the original text

comment:1 Changed 12 years ago by cognet@…

Note: See TracTickets for help on using tickets.