]> git.sesse.net Git - vlc/commit
Do not use an enumeration for a bits field
authorRémi Denis-Courmont <remi@remlab.net>
Thu, 4 Feb 2010 16:07:15 +0000 (18:07 +0200)
committerRémi Denis-Courmont <remi@remlab.net>
Thu, 4 Feb 2010 16:08:25 +0000 (18:08 +0200)
commit2d81d799164338f9120b6684510936299a023025
tree8b05aff23f16116742c05f4fc622b64adc0a6b11
parent8c7eaa23f195ea75d963b78ecf83dba07cacbee7
Do not use an enumeration for a bits field

This violates the C standard. Passing a value outside not part of the
enumeration is undefined. This obviously excludes bits fields.
include/vlc/libvlc_media.h
src/control/media.c