From 23640d06b128d455d464e7fcaffa44ca398b0d2b Mon Sep 17 00:00:00 2001 From: Seven Du Date: Mon, 1 Jun 2020 22:28:15 +0800 Subject: [PATCH] [mod_av] fix value never read --- src/mod/applications/mod_av/avformat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod/applications/mod_av/avformat.c b/src/mod/applications/mod_av/avformat.c index b8ed73321f..74e3a8ea1a 100644 --- a/src/mod/applications/mod_av/avformat.c +++ b/src/mod/applications/mod_av/avformat.c @@ -2433,7 +2433,7 @@ static switch_status_t no_video_decode_packets(switch_file_handle_t *handle, swi } context->last_read_pkt = pkt; - status = switch_packetizer_feed(context->packetizer, pkt->data, pkt->size); + switch_packetizer_feed(context->packetizer, pkt->data, pkt->size); status = switch_packetizer_read(context->packetizer, frame); pts = av_rescale_q(pkt->pts, st->time_base, AV_TIME_BASE_Q); frame->timestamp = pts * 9 / 100; // scale to sample 900000