summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
8e74aa4)
This also fixes this warning:
warning: ‘av_free_packet’ is deprecated
}
end_while:
if (!output_ctx.raw_output && got_packet)
}
end_while:
if (!output_ctx.raw_output && got_packet)
- av_free_packet(&out_packet);
- av_free_packet(&in_packet);
+ av_packet_unref(&out_packet);
+ av_packet_unref(&in_packet);
}
sws_freeContext(sw_scale_ctx);
}
sws_freeContext(sw_scale_ctx);