summaryrefslogtreecommitdiff
path: root/libavformat/tee.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-09-07 22:16:26 +0200
committerMichael Niedermayer <michaelni@gmx.at>2013-09-07 22:43:32 +0200
commitc4c3a3d580fa2f9d65af3fb6027ffbf9a28e9d55 (patch)
tree347ce17d1ad1dbf94b3da6c860da82cd1cf76453 /libavformat/tee.c
parent4cf1900ba7e4c9aaff515f62196d661b891bdfdd (diff)
vformat/tee: fix uninitialized use of ret
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/tee.c')
-rw-r--r--libavformat/tee.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/tee.c b/libavformat/tee.c
index a50ea799e3..40b59a4be9 100644
--- a/libavformat/tee.c
+++ b/libavformat/tee.c
@@ -387,7 +387,7 @@ static int filter_packet(void *log_ctx, AVPacket *pkt,
AVFormatContext *fmt_ctx, AVBitStreamFilterContext *bsf_ctx)
{
AVCodecContext *enc_ctx = fmt_ctx->streams[pkt->stream_index]->codec;
- int ret;
+ int ret = 0;
while (bsf_ctx) {
AVPacket new_pkt = *pkt;