[mod_av] fix value never read

This commit is contained in:
Seven Du 2020-06-01 22:28:15 +08:00 committed by Andrey Volk
parent 48e3a37587
commit 23640d06b1
1 changed files with 1 additions and 1 deletions

View 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