|
|
|
@ -293,11 +293,11 @@ static int write_stream_data(AVFormatContext *s, AVStream *st) |
|
|
|
|
AVIOContext *pb = s->pb; |
|
|
|
|
int ret; |
|
|
|
|
|
|
|
|
|
write_chunk_header2(s, &ff_SBE2_STREAM_DESC_EVENT, 0x80000000 | (st->index + INDEX_BASE)); |
|
|
|
|
avio_wl32(pb, 0x00000001); |
|
|
|
|
avio_wl32(pb, st->index + INDEX_BASE); //stream_id
|
|
|
|
|
avio_wl32(pb, 0x00000001); |
|
|
|
|
write_pad(pb, 8); |
|
|
|
|
write_chunk_header2(s, &ff_SBE2_STREAM_DESC_EVENT, 0x80000000 | (st->index + INDEX_BASE)); |
|
|
|
|
avio_wl32(pb, 0x00000001); |
|
|
|
|
avio_wl32(pb, st->index + INDEX_BASE); //stream_id
|
|
|
|
|
avio_wl32(pb, 0x00000001); |
|
|
|
|
write_pad(pb, 8); |
|
|
|
|
|
|
|
|
|
ret = write_stream_codec_info(s, st); |
|
|
|
|
if (ret < 0) { |
|
|
|
|