X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fmodules%2Fkino%2Friff.cc;fp=src%2Fmodules%2Fkino%2Friff.cc;h=44a082ca1e655af9bc21000554834f5106b2109e;hb=3902731cb8a9622204d584c4962c74e2a5a35428;hp=f1dbb5cd92db4cc332d963ec84cd5dc7d346d77a;hpb=780b62679560f15e2201ae42a28de77346729b7e;p=melted diff --git a/src/modules/kino/riff.cc b/src/modules/kino/riff.cc index f1dbb5c..44a082c 100644 --- a/src/modules/kino/riff.cc +++ b/src/modules/kino/riff.cc @@ -515,7 +515,7 @@ void RIFFFile::ParseChunk( int parent ) /* Check whether it is a LIST. If so, let ParseList deal with it */ - read( fd, &type, sizeof( type ) ); + fail_if( read( fd, &type, sizeof( type ) ) != sizeof( type )); if ( type == make_fourcc( "LIST" ) ) { typesize = (int) -sizeof( type );