Browse Source

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

Originally committed as revision 4398 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Michael Niedermayer 20 years ago
parent
commit
edfaf6de29
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      libavformat/mov.c

+ 2
- 2
libavformat/mov.c View File

@@ -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