Mercurial > libavformat.hg
changeset 3629:8f06218b8767 libavformat
matroskadec: remove storage of various unused flags
author | aurel |
---|---|
date | Tue, 05 Aug 2008 00:39:50 +0000 |
parents | 5f2e1da55755 |
children | 23666678a608 |
files | matroska.h matroskadec.c |
diffstat | 2 files changed, 0 insertions(+), 21 deletions(-) [+] |
line wrap: on
line diff
--- a/matroska.h Tue Aug 05 00:39:47 2008 +0000 +++ b/matroska.h Tue Aug 05 00:39:50 2008 +0000 @@ -195,16 +195,9 @@ */ typedef enum { - MATROSKA_TRACK_ENABLED = (1<<0), MATROSKA_TRACK_DEFAULT = (1<<1), - MATROSKA_TRACK_LACING = (1<<2), - MATROSKA_TRACK_SHIFT = (1<<16) } MatroskaTrackFlags; -typedef enum { - MATROSKA_VIDEOTRACK_INTERLACED = (MATROSKA_TRACK_SHIFT<<0) -} MatroskaVideoTrackFlags; - /* * Matroska Codec IDs. Strings. */
--- a/matroskadec.c Tue Aug 05 00:39:47 2008 +0000 +++ b/matroskadec.c Tue Aug 05 00:39:50 2008 +0000 @@ -1218,12 +1218,6 @@ if ((res = ebml_read_uint(matroska, &id, &num)) < 0) break; - if (num) - track->flags |= - MATROSKA_VIDEOTRACK_INTERLACED; - else - track->flags &= - ~MATROSKA_VIDEOTRACK_INTERLACED; break; } @@ -1391,10 +1385,6 @@ uint64_t num; if ((res = ebml_read_uint(matroska, &id, &num)) < 0) break; - if (num) - track->flags |= MATROSKA_TRACK_ENABLED; - else - track->flags &= ~MATROSKA_TRACK_ENABLED; break; } @@ -1416,10 +1406,6 @@ uint64_t num; if ((res = ebml_read_uint(matroska, &id, &num)) < 0) break; - if (num) - track->flags |= MATROSKA_TRACK_LACING; - else - track->flags &= ~MATROSKA_TRACK_LACING; break; }