diff options
author | jstebbins <[email protected]> | 2011-09-24 18:42:05 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2011-09-24 18:42:05 +0000 |
commit | fe0b9bb16dec420d447a4520cf1f001e99a92021 (patch) | |
tree | 2a50956735ae4941d628f84eb76f40a989019467 /macosx/PictureController.m | |
parent | 083d7487b2ec5a59b3c0a3d6f350d2018e1b0ace (diff) |
Fix parsing of SSA layer field
SSA subtitles have an empty layer field (bare ','). The
scanf format specifier "%*128[^,]" will not match on a
bare ','. There must be at least one non ',' character in
the match. So the format specifier is placed directly next
to the 'Dialogue:' string so that the next expected ' '
after the ':' will be the character it matches on when
there is no layer field.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4244 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/PictureController.m')
0 files changed, 0 insertions, 0 deletions