cosmetics: add a comment in flac_write_header().

Originally committed as revision 17605 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Justin Ruggles 2009-02-26 02:33:19 +00:00
parent 25582b8929
commit faec0eba8b

View File

@ -34,6 +34,7 @@ static int flac_write_header(struct AVFormatContext *s)
if (!ff_flac_is_extradata_valid(codec, &format, &streaminfo)) if (!ff_flac_is_extradata_valid(codec, &format, &streaminfo))
return -1; return -1;
/* write "fLaC" stream marker and first metadata block header if needed */
if (format == FLAC_EXTRADATA_FORMAT_STREAMINFO) { if (format == FLAC_EXTRADATA_FORMAT_STREAMINFO) {
put_buffer(s->pb, header, 8); put_buffer(s->pb, header, 8);
} }