Commit 79a58e91 authored by David Conrad's avatar David Conrad

Compile fix; missed a variable declaration in the last commit

Originally committed as revision 10303 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent b1adb69c
...@@ -225,6 +225,7 @@ static int mkv_write_header(AVFormatContext *s) ...@@ -225,6 +225,7 @@ static int mkv_write_header(AVFormatContext *s)
static int mkv_write_packet(AVFormatContext *s, AVPacket *pkt) static int mkv_write_packet(AVFormatContext *s, AVPacket *pkt)
{ {
ByteIOContext *pb = &s->pb; ByteIOContext *pb = &s->pb;
offset_t block;
block = start_ebml_master(pb, MATROSKA_ID_SIMPLEBLOCK); block = start_ebml_master(pb, MATROSKA_ID_SIMPLEBLOCK);
put_byte(pb, 0x80 | pkt->stream_index); // this assumes stream_index is less than 127 put_byte(pb, 0x80 | pkt->stream_index); // this assumes stream_index is less than 127
......
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