mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-14 16:15:04 +00:00
FS-9394 #resolve fix h263 leak
This commit is contained in:
parent
ac2734e90c
commit
e2928b8a75
@ -693,7 +693,10 @@ static switch_status_t consume_h263_bitstream(h264_codec_context_t *context, swi
|
||||
#endif
|
||||
}
|
||||
|
||||
if (!context->nalus[context->nalu_current_index].len) frame->m = 1;
|
||||
if (!context->nalus[context->nalu_current_index].len) {
|
||||
av_packet_unref(&context->encoder_avpacket);
|
||||
frame->m = 1;
|
||||
}
|
||||
|
||||
#if 0
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user