Commit d1588c0d authored by IOhannes m zmölnig's avatar IOhannes m zmölnig
Browse files

use "AviStream::Video" instead of "avm::IStream::StreamType(1)" for better readability

parent 863e6edb
...@@ -104,7 +104,7 @@ bool filmAVIPLAY :: open(const std::string&filename, ...@@ -104,7 +104,7 @@ bool filmAVIPLAY :: open(const std::string&filename,
try { try {
int curtrack = m_curTrack; int curtrack = m_curTrack;
if(curtrack<0)curtrack = 0; if(curtrack<0)curtrack = 0;
m_avistream=m_avifile->GetStream(curtrack,avm::IStream::StreamType(1)); m_avistream=m_avifile->GetStream(curtrack,AviStream::Video);
} catch (const char* string) { } catch (const char* string) {
m_avistream = 0; m_avistream = 0;
} }
......
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