better dont read the width/height at all, its random anyway

Originally committed as revision 4398 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Michael Niedermayer 20 years ago
parent 80581e9887
commit edfaf6de29
  1. 4
      libavformat/mov.c

@ -1442,8 +1442,8 @@ static int mov_read_tkhd(MOVContext *c, ByteIOContext *pb, MOV_atom_t atom)
url_fskip(pb, 36); /* display matrix */
/* those are fixed-point */
st->codec.width = get_be32(pb) >> 16; /* track width */
st->codec.height = get_be32(pb) >> 16; /* track height */
/*st->codec.width =*/ get_be32(pb) >> 16; /* track width */
/*st->codec.height =*/ get_be32(pb) >> 16; /* track height */
return 0;
}

Loading…
Cancel
Save