Commit 166a1dba authored by aurel's avatar aurel

matroskadec: remove storage of various unused flags

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14549 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 580a6832
...@@ -195,16 +195,9 @@ typedef enum { ...@@ -195,16 +195,9 @@ typedef enum {
*/ */
typedef enum { typedef enum {
MATROSKA_TRACK_ENABLED = (1<<0),
MATROSKA_TRACK_DEFAULT = (1<<1), MATROSKA_TRACK_DEFAULT = (1<<1),
MATROSKA_TRACK_LACING = (1<<2),
MATROSKA_TRACK_SHIFT = (1<<16)
} MatroskaTrackFlags; } MatroskaTrackFlags;
typedef enum {
MATROSKA_VIDEOTRACK_INTERLACED = (MATROSKA_TRACK_SHIFT<<0)
} MatroskaVideoTrackFlags;
/* /*
* Matroska Codec IDs. Strings. * Matroska Codec IDs. Strings.
*/ */
......
...@@ -1218,12 +1218,6 @@ matroska_add_stream (MatroskaDemuxContext *matroska) ...@@ -1218,12 +1218,6 @@ matroska_add_stream (MatroskaDemuxContext *matroska)
if ((res = ebml_read_uint(matroska, &id, if ((res = ebml_read_uint(matroska, &id,
&num)) < 0) &num)) < 0)
break; break;
if (num)
track->flags |=
MATROSKA_VIDEOTRACK_INTERLACED;
else
track->flags &=
~MATROSKA_VIDEOTRACK_INTERLACED;
break; break;
} }
...@@ -1391,10 +1385,6 @@ matroska_add_stream (MatroskaDemuxContext *matroska) ...@@ -1391,10 +1385,6 @@ matroska_add_stream (MatroskaDemuxContext *matroska)
uint64_t num; uint64_t num;
if ((res = ebml_read_uint(matroska, &id, &num)) < 0) if ((res = ebml_read_uint(matroska, &id, &num)) < 0)
break; break;
if (num)
track->flags |= MATROSKA_TRACK_ENABLED;
else
track->flags &= ~MATROSKA_TRACK_ENABLED;
break; break;
} }
...@@ -1416,10 +1406,6 @@ matroska_add_stream (MatroskaDemuxContext *matroska) ...@@ -1416,10 +1406,6 @@ matroska_add_stream (MatroskaDemuxContext *matroska)
uint64_t num; uint64_t num;
if ((res = ebml_read_uint(matroska, &id, &num)) < 0) if ((res = ebml_read_uint(matroska, &id, &num)) < 0)
break; break;
if (num)
track->flags |= MATROSKA_TRACK_LACING;
else
track->flags &= ~MATROSKA_TRACK_LACING;
break; break;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment