summaryrefslogtreecommitdiff
path: root/libavcodec/flacenc.c
diff options
context:
space:
mode:
authorJustin Ruggles <justin.ruggles@gmail.com>2010-07-31 21:14:03 +0000
committerJustin Ruggles <justin.ruggles@gmail.com>2010-07-31 21:14:03 +0000
commit6768beb4a822cbf1d1c942519c1a9b71364d9865 (patch)
tree29a88391a0109e0a46c0f56778353ecc876212bb /libavcodec/flacenc.c
parent3d2cd42f8a19460d1fd44771646b4411c3148383 (diff)
downloadffmpeg-6768beb4a822cbf1d1c942519c1a9b71364d9865.tar.gz
cosmetics: rename output_* to write_*
Originally committed as revision 24634 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/flacenc.c')
-rw-r--r--libavcodec/flacenc.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/libavcodec/flacenc.c b/libavcodec/flacenc.c
index 1486c88449..60cab8ed8f 100644
--- a/libavcodec/flacenc.c
+++ b/libavcodec/flacenc.c
@@ -1125,7 +1125,7 @@ static void write_utf8(PutBitContext *pb, uint32_t val)
}
-static void output_frame_header(FlacEncodeContext *s)
+static void write_frame_header(FlacEncodeContext *s)
{
FlacFrame *frame;
int crc;
@@ -1162,7 +1162,7 @@ static void output_frame_header(FlacEncodeContext *s)
}
-static void output_subframes(FlacEncodeContext *s)
+static void write_subframes(FlacEncodeContext *s)
{
int ch;
@@ -1220,7 +1220,7 @@ static void output_subframes(FlacEncodeContext *s)
}
-static void output_frame_footer(FlacEncodeContext *s)
+static void write_frame_footer(FlacEncodeContext *s)
{
int crc;
flush_put_bits(&s->pb);
@@ -1234,9 +1234,9 @@ static void output_frame_footer(FlacEncodeContext *s)
static int write_frame(FlacEncodeContext *s, uint8_t *frame, int buf_size)
{
init_put_bits(&s->pb, frame, buf_size);
- output_frame_header(s);
- output_subframes(s);
- output_frame_footer(s);
+ write_frame_header(s);
+ write_subframes(s);
+ write_frame_footer(s);
return put_bits_count(&s->pb) >> 3;
}