[vlc-commits] demux/ty: Demux: fix comment related to "closed captions/XDS"
Filip Roséen
git at videolan.org
Mon Mar 20 14:54:11 CET 2017
vlc | branch: master | Filip Roséen <filip at atch.se> | Mon Mar 20 14:42:45 2017 +0100| [167e13904d3b87e16f7d8adb8d5bb8ee4dfe8a35] | committer: Hugo Beauzée-Luyssen
demux/ty: Demux: fix comment related to "closed captions/XDS"
As a result of dbae0e3, a comment was incorrectly split up so that it
implies that each split applies to one particular value (which is not
correct).
These changes fix that by putting both entities into a single comment,
hopefully signalling that either "0x01" or "0x02" means "closed
captions/XDS" (and not each for one).
--
Thanks for Francois Cartegnie for pointing out the mistake:
- https://mailman.videolan.org/pipermail/vlc-devel/2017-March/112291.html
Signed-off-by: Hugo Beauzée-Luyssen <hugo at beauzee.fr>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=167e13904d3b87e16f7d8adb8d5bb8ee4dfe8a35
---
modules/demux/ty.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/modules/demux/ty.c b/modules/demux/ty.c
index 5b496b3..c712f95 100644
--- a/modules/demux/ty.c
+++ b/modules/demux/ty.c
@@ -466,8 +466,9 @@ static int Demux( demux_t *p_demux )
DemuxRecAudio( p_demux, p_rec, p_block_in );
break;
- case 0x01: /* closed caption */
- case 0x02: /* XDS */
+ case 0x01:
+ case 0x02:
+ /* closed captions/XDS */
DemuxRecCc( p_demux, p_rec, p_block_in );
break;
More information about the vlc-commits
mailing list