mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
init buffer
Originally committed as revision 6040 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
7f3f497a0b
commit
6a7eba1f07
@ -492,6 +492,7 @@ static int gxf_write_umf_media_description(ByteIOContext *pb, GXFContext *ctx)
|
|||||||
offset_t startpos, curpos;
|
offset_t startpos, curpos;
|
||||||
int path_size = strlen(ES_NAME_PATTERN);
|
int path_size = strlen(ES_NAME_PATTERN);
|
||||||
|
|
||||||
|
memset(buffer, 0, 88);
|
||||||
startpos = url_ftell(pb);
|
startpos = url_ftell(pb);
|
||||||
put_le16(pb, 0); /* length */
|
put_le16(pb, 0); /* length */
|
||||||
put_le16(pb, sc->media_info);
|
put_le16(pb, sc->media_info);
|
||||||
|
Loading…
Reference in New Issue
Block a user