Commit 1133074f authored by mmu_man's avatar mmu_man

movenc illegal access patch by Roine Gustafsson <roine AT users DOT sourceforge DOT net>


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@3891 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent cc0736c9
......@@ -1096,7 +1096,7 @@ static int mov_write_udta_tag(ByteIOContext *pb, MOVContext* mov,
}
/* 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 */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment