Skip to content

Commit

Permalink
VIDEO: Hook up MPEG decoder to AVI
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew Hoops committed Jun 20, 2013
1 parent 0b81e59 commit f39c9d5
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions video/avi_decoder.cpp
Expand Up @@ -36,6 +36,7 @@
// Video Codecs
#include "video/codecs/cinepak.h"
#include "video/codecs/indeo3.h"
#include "video/codecs/mpeg.h"
#include "video/codecs/msvideo1.h"
#include "video/codecs/msrle.h"
#include "video/codecs/truemotion1.h"
Expand Down Expand Up @@ -437,9 +438,10 @@ Codec *AVIDecoder::AVIVideoTrack::createCodec() {
case ID_DUCK:
return new TrueMotion1Decoder(_bmInfo.width, _bmInfo.height);
#endif
#ifdef USE_MPEG2
case ID_MPG2:
warning("Unhandled MPEG-2 codec in AVI file");
break;
return new MPEGDecoder();
#endif
default:
warning("Unknown/Unhandled compression format \'%s\'", tag2str(_vidsHeader.streamHandler));
}
Expand Down

0 comments on commit f39c9d5

Please sign in to comment.