Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Reimar Döffinger authored on 2012/04/11 04:46:56... | ... |
@@ -84,7 +84,7 @@ static int latm_write_header(AVFormatContext *s) |
84 | 84 |
return 0; |
85 | 85 |
} |
86 | 86 |
|
87 |
-static int latm_write_frame_header(AVFormatContext *s, PutBitContext *bs) |
|
87 |
+static void latm_write_frame_header(AVFormatContext *s, PutBitContext *bs) |
|
88 | 88 |
{ |
89 | 89 |
LATMContext *ctx = s->priv_data; |
90 | 90 |
AVCodecContext *avctx = s->streams[0]->codec; |
... | ... |
@@ -125,8 +125,6 @@ static int latm_write_frame_header(AVFormatContext *s, PutBitContext *bs) |
125 | 125 |
|
126 | 126 |
ctx->counter++; |
127 | 127 |
ctx->counter %= ctx->mod; |
128 |
- |
|
129 |
- return 0; |
|
130 | 128 |
} |
131 | 129 |
|
132 | 130 |
static int latm_write_packet(AVFormatContext *s, AVPacket *pkt) |