Skip to content
Snippets Groups Projects
Commit 501866a1 authored by Roine Gustafsson's avatar Roine Gustafsson Committed by François Revol
Browse files

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

Originally committed as revision 3891 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 92e51b66
No related merge requests found
...@@ -1096,7 +1096,7 @@ static int mov_write_udta_tag(ByteIOContext *pb, MOVContext* mov, ...@@ -1096,7 +1096,7 @@ static int mov_write_udta_tag(ByteIOContext *pb, MOVContext* mov,
} }
/* Encoder */ /* 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); int pos = url_ftell(pb);
put_be32(pb, 0); /* size */ put_be32(pb, 0); /* size */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment