[FFmpeg-devel] [PATCH] latmenc: remove unused return value.
Reimar Döffinger
Reimar.Doeffinger at gmx.de
Tue Apr 10 21:47:10 CEST 2012
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger at gmx.de>
---
libavformat/latmenc.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/libavformat/latmenc.c b/libavformat/latmenc.c
index c466d8a..1722eb5 100644
--- a/libavformat/latmenc.c
+++ b/libavformat/latmenc.c
@@ -89,7 +89,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;
@@ -132,8 +132,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)
--
1.7.9.5
More information about the ffmpeg-devel
mailing list