Mercurial > libavformat.hg
changeset 661:ff3b403d0498 libavformat
movenc illegal access patch by Roine Gustafsson <roine AT users DOT sourceforge DOT net>
author | mmu_man |
---|---|
date | Thu, 27 Jan 2005 15:41:03 +0000 |
parents | 758929a1744c |
children | 549e594a13c2 |
files | movenc.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/movenc.c Thu Jan 27 15:39:13 2005 +0000 +++ b/movenc.c Thu Jan 27 15:41:03 2005 +0000 @@ -1096,7 +1096,7 @@ } /* Encoder */ - if(!(mov->tracks[0].enc->flags & CODEC_FLAG_BITEXACT)) + if(mov->tracks[0].enc && !(mov->tracks[0].enc->flags & CODEC_FLAG_BITEXACT)) { int pos = url_ftell(pb); put_be32(pb, 0); /* size */