Commit c4c3a3d5 authored by Michael Niedermayer's avatar Michael Niedermayer

vformat/tee: fix uninitialized use of ret

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 4cf1900b
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment