Commit 13adf523 authored by conrad's avatar conrad

Indentation


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10367 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 6b2f4c40
......@@ -140,8 +140,8 @@ static void put_ebml_size(ByteIOContext *pb, uint64_t size, int bytes)
if (bytes == 0)
// don't care how many bytes are used, so use the min
bytes = needed_bytes;
// the bytes needed to write the given size would exceed the bytes
// that we need to use, so write unknown size. This shouldn't happen.
// the bytes needed to write the given size would exceed the bytes
// that we need to use, so write unknown size. This shouldn't happen.
assert(bytes >= needed_bytes);
size |= 1ULL << bytes*7;
......@@ -587,9 +587,9 @@ static int mkv_write_tracks(AVFormatContext *s)
end_ebml_master(pb, subinfo);
break;
case CODEC_TYPE_SUBTITLE:
put_ebml_uint(pb, MATROSKA_ID_TRACKTYPE, MATROSKA_TRACK_TYPE_SUBTITLE);
break;
case CODEC_TYPE_SUBTITLE:
put_ebml_uint(pb, MATROSKA_ID_TRACKTYPE, MATROSKA_TRACK_TYPE_SUBTITLE);
break;
default:
av_log(s, AV_LOG_ERROR, "Only audio and video are supported for Matroska.");
break;
......
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