hepek / MPEG-TS

Haskell implementation of mpegts parser
GNU General Public License v3.0
8 stars 1 forks source link

compilation error #1

Closed vschiavoni closed 11 years ago

vschiavoni commented 11 years ago

Hello, i get the following compilation error:

$ghc --version The Glorious Glasgow Haskell Compilation System, version 7.4.2

$ ghc -o Main Main.hs [1 of 2] Compiling Codec.Video.MpegTS ( Codec/Video/MpegTS.hs, Codec/Video/MpegTS.o )

Codec/Video/MpegTS.hs:165:12:
    The function `getWord8' is applied to two arguments,
    but its type `Get Word8' has none
    In a stmt of a 'do' block: tag <- getWord8 skip (l - 1)
    In the expression:
      do { tag <- getWord8 skip (l - 1);
           return (esTag tag) }
    In an equation for `decodeESDescriptor':
        decodeESDescriptor l
          = do { tag <- getWord8 skip (l - 1);
                 return (esTag tag) }
hepek commented 11 years ago

sorry, I commited an erroneus indentation in that do block by mistake.

hepek commented 11 years ago

try updating https://github.com/hepek/MPEG-TS/commit/38577519c5e77a983366a891354114d9008d43a1