Browse Source

vformat/tee: fix uninitialized use of ret

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.1
Michael Niedermayer 12 years ago
parent
commit
c4c3a3d580
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/tee.c

+ 1
- 1
libavformat/tee.c View File

@@ -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;


Loading…
Cancel
Save