[FFmpeg-cvslog] wtv: rename ff_stream_guid to ff_SBE2_STREAM_DESC_EVENT

Peter Ross git at videolan.org
Tue Nov 6 15:57:59 CET 2012


ffmpeg | branch: master | Peter Ross <pross at xvid.org> | Tue Nov  6 14:01:35 2012 +1100| [1701a22fce3e56618f4fbdd5cce89b8aac3d9d11] | committer: Michael Niedermayer

wtv: rename ff_stream_guid to ff_SBE2_STREAM_DESC_EVENT

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=1701a22fce3e56618f4fbdd5cce89b8aac3d9d11
---

 libavformat/wtv.c    |    2 +-
 libavformat/wtv.h    |    2 +-
 libavformat/wtvdec.c |    2 +-
 libavformat/wtvenc.c |    2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/libavformat/wtv.c b/libavformat/wtv.c
index d85c3cf..40b755c 100644
--- a/libavformat/wtv.c
+++ b/libavformat/wtv.c
@@ -30,7 +30,7 @@ const ff_asf_guid ff_timestamp_guid =
     {0x5B,0x05,0xE6,0x1B,0x97,0xA9,0x49,0x43,0x88,0x17,0x1A,0x65,0x5A,0x29,0x8A,0x97};
 const ff_asf_guid ff_data_guid =
     {0x95,0xC3,0xD2,0xC2,0x7E,0x9A,0xDA,0x11,0x8B,0xF7,0x00,0x07,0xE9,0x5E,0xAD,0x8D};
-const ff_asf_guid ff_stream_guid =
+const ff_asf_guid ff_SBE2_STREAM_DESC_EVENT =
     {0xED,0xA4,0x13,0x23,0x2D,0xBF,0x4F,0x45,0xAD,0x8A,0xD9,0x5B,0xA7,0xF9,0x1F,0xEE};
 const ff_asf_guid ff_mediatype_audio =
     {'a','u','d','s',FF_MEDIASUBTYPE_BASE_GUID};
diff --git a/libavformat/wtv.h b/libavformat/wtv.h
index 7e4f243..864cc18 100644
--- a/libavformat/wtv.h
+++ b/libavformat/wtv.h
@@ -39,7 +39,7 @@ extern const ff_asf_guid ff_dir_entry_guid;
 extern const ff_asf_guid ff_wtv_guid;
 extern const ff_asf_guid ff_timestamp_guid;
 extern const ff_asf_guid ff_data_guid;
-extern const ff_asf_guid ff_stream_guid;
+extern const ff_asf_guid ff_SBE2_STREAM_DESC_EVENT;
 extern const ff_asf_guid ff_mediatype_audio;
 extern const ff_asf_guid ff_mediatype_video;
 extern const ff_asf_guid ff_format_none;
diff --git a/libavformat/wtvdec.c b/libavformat/wtvdec.c
index 5d82db6..60b229f 100644
--- a/libavformat/wtvdec.c
+++ b/libavformat/wtvdec.c
@@ -741,7 +741,7 @@ static int parse_chunks(AVFormatContext *s, int mode, int64_t seekts, int *len_p
         avio_skip(pb, 8);
         consumed = 32;
 
-        if (!ff_guidcmp(g, ff_stream_guid)) {
+        if (!ff_guidcmp(g, ff_SBE2_STREAM_DESC_EVENT)) {
             if (ff_find_stream_index(s, sid) < 0) {
                 ff_asf_guid mediatype, subtype, formattype;
                 int size;
diff --git a/libavformat/wtvenc.c b/libavformat/wtvenc.c
index 419dd57..2629bef 100644
--- a/libavformat/wtvenc.c
+++ b/libavformat/wtvenc.c
@@ -310,7 +310,7 @@ static int write_stream_data(AVFormatContext *s, AVStream *st, int flag)
     int ret;
 
     if (!flag) {
-        write_chunk_header2(s, &ff_stream_guid, 0x80000000 | (st->index + INDEX_BASE));
+        write_chunk_header2(s, &ff_SBE2_STREAM_DESC_EVENT, 0x80000000 | (st->index + INDEX_BASE));
         avio_wl32(pb, 0x00000001);
         avio_wl32(pb, st->index + INDEX_BASE); //stream_id
         avio_wl32(pb, 0x00000001);



More information about the ffmpeg-cvslog mailing list