Compile fix; missed a variable declaration in the last commit

Originally committed as revision 10303 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
David Conrad 18 years ago
parent b1adb69c5b
commit 79a58e91db
  1. 1
      libavformat/matroskaenc.c

@ -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

Loading…
Cancel
Save