]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
[mod_av] fix value never read
authorSeven Du <dujinfang@gmail.com>
Mon, 1 Jun 2020 14:28:15 +0000 (22:28 +0800)
committerAndrey Volk <andywolk@gmail.com>
Sat, 23 Oct 2021 19:00:04 +0000 (22:00 +0300)
src/mod/applications/mod_av/avformat.c

index b8ed73321f56b19209ebe2a2f2e135b2a4f2beb7..74e3a8ea1ae45d36c7db9d9f67b7934d80944996 100644 (file)
@@ -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