Compile fix; missed a variable declaration in the last commit

Originally committed as revision 10303 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
David Conrad 2007-09-05 00:22:54 +00:00
parent b1adb69c5b
commit 79a58e91db
1 changed files with 1 additions and 0 deletions

View File

@ -225,6 +225,7 @@ static int mkv_write_header(AVFormatContext *s)
static int mkv_write_packet(AVFormatContext *s, AVPacket *pkt)
{
ByteIOContext *pb = &s->pb;
offset_t block;
block = start_ebml_master(pb, MATROSKA_ID_SIMPLEBLOCK);
put_byte(pb, 0x80 | pkt->stream_index); // this assumes stream_index is less than 127