mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-11 01:25:25 +00:00
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:
parent
25582b8929
commit
faec0eba8b
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user