aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustin Ruggles <justin.ruggles@gmail.com>2009-02-26 02:33:19 +0000
committerJustin Ruggles <justin.ruggles@gmail.com>2009-02-26 02:33:19 +0000
commitfaec0eba8b9ea2f54bb63c46daf7bd11d74c61f2 (patch)
treeaad0a746100fdda4cbc37ecedd08520becfef754
parent25582b8929715c537ea8046f5831f36063df6e5d (diff)
downloadffmpeg-faec0eba8b9ea2f54bb63c46daf7bd11d74c61f2.tar.gz
cosmetics: add a comment in flac_write_header().
Originally committed as revision 17605 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavformat/flacenc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/flacenc.c b/libavformat/flacenc.c
index 23d1be8721..b391f8891d 100644
--- a/libavformat/flacenc.c
+++ b/libavformat/flacenc.c
@@ -34,6 +34,7 @@ static int flac_write_header(struct AVFormatContext *s)
if (!ff_flac_is_extradata_valid(codec, &format, &streaminfo))
return -1;
+ /* write "fLaC" stream marker and first metadata block header if needed */
if (format == FLAC_EXTRADATA_FORMAT_STREAMINFO) {
put_buffer(s->pb, header, 8);
}