summaryrefslogtreecommitdiff
path: root/libavformat/latmenc.c
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2012-04-10 21:46:56 +0200
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2012-04-11 22:27:34 +0200
commitfa8a6385a11f7e84666562ff212cfe648b561dda (patch)
treedc5e6d0d52fe0cb5c8f16ee78cf5d8a4623eda17 /libavformat/latmenc.c
parente6ad9437346a78535df78efda3710e890e2586d6 (diff)
latmenc: remove unused return value.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Diffstat (limited to 'libavformat/latmenc.c')
-rw-r--r--libavformat/latmenc.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/libavformat/latmenc.c b/libavformat/latmenc.c
index c8d77151a4..27810f9eeb 100644
--- a/libavformat/latmenc.c
+++ b/libavformat/latmenc.c
@@ -84,7 +84,7 @@ static int latm_write_header(AVFormatContext *s)
return 0;
}
-static int latm_write_frame_header(AVFormatContext *s, PutBitContext *bs)
+static void latm_write_frame_header(AVFormatContext *s, PutBitContext *bs)
{
LATMContext *ctx = s->priv_data;
AVCodecContext *avctx = s->streams[0]->codec;
@@ -125,8 +125,6 @@ static int latm_write_frame_header(AVFormatContext *s, PutBitContext *bs)
ctx->counter++;
ctx->counter %= ctx->mod;
-
- return 0;
}
static int latm_write_packet(AVFormatContext *s, AVPacket *pkt)