Browse Source

prevent writing empty stss atom

Originally committed as revision 12636 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Baptiste Coudurier 17 years ago
parent
commit
b371539a3d
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/movenc.c

+ 1
- 1
libavformat/movenc.c View File

@@ -734,7 +734,7 @@ static int mov_write_stbl_tag(ByteIOContext *pb, MOVTrack* track)
mov_write_stsd_tag(pb, track);
mov_write_stts_tag(pb, track);
if (track->enc->codec_type == CODEC_TYPE_VIDEO &&
track->hasKeyframes < track->entry)
track->hasKeyframes && track->hasKeyframes < track->entry)
mov_write_stss_tag(pb, track);
if (track->enc->codec_type == CODEC_TYPE_VIDEO &&
track->hasBframes)


Loading…
Cancel
Save