diff options
author | David Conrad <lessen42@gmail.com> | 2007-09-05 00:22:54 +0000 |
---|---|---|
committer | David Conrad <lessen42@gmail.com> | 2007-09-05 00:22:54 +0000 |
commit | 79a58e91dba4055d77031534b9f8ce6849720a71 (patch) | |
tree | a2659bcb81c885056e07564c5505fffed4dba265 /libavformat/matroskaenc.c | |
parent | b1adb69c5b55180c8daeed4a91c8769129985715 (diff) |
Compile fix; missed a variable declaration in the last commit
Originally committed as revision 10303 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/matroskaenc.c')
-rw-r--r-- | libavformat/matroskaenc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/matroskaenc.c b/libavformat/matroskaenc.c index 91da9079f4..60c304a5ed 100644 --- a/libavformat/matroskaenc.c +++ b/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 |