Browse Source

filmstripenc: fix rounding that caused fate failure

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n1.1
Michael Niedermayer 12 years ago
parent
commit
e82afa3e2d
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/filmstripenc.c

+ 1
- 1
libavformat/filmstripenc.c View File

@@ -64,7 +64,7 @@ static int write_trailer(AVFormatContext *s)
avio_wb16(pb, st->codec->width);
avio_wb16(pb, st->codec->height);
avio_wb16(pb, 0); // leading
avio_wb16(pb, 1/av_q2d(st->codec->time_base));
avio_wb16(pb, st->codec->time_base.den / st->codec->time_base.num);
for (i = 0; i < 16; i++)
avio_w8(pb, 0x00); // reserved



Loading…
Cancel
Save