[FFmpeg-cvslog] latmenc: remove unused return value.
Reimar Döffinger
git at videolan.org
Wed Apr 11 22:31:44 CEST 2012
ffmpeg | branch: master | Reimar Döffinger <Reimar.Doeffinger at gmx.de> | Tue Apr 10 21:46:56 2012 +0200| [fa8a6385a11f7e84666562ff212cfe648b561dda] | committer: Reimar Döffinger
latmenc: remove unused return value.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger at gmx.de>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=fa8a6385a11f7e84666562ff212cfe648b561dda
---
libavformat/latmenc.c | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/libavformat/latmenc.c b/libavformat/latmenc.c
index c8d7715..27810f9 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)
More information about the ffmpeg-cvslog
mailing list