mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-02-19 01:53:57 +08:00
Merge branch 'master' of github.com:commaai/openpilot
old-commit-hash: 6e388948e3
This commit is contained in:
@@ -635,6 +635,7 @@ void encoder_close(EncoderState *s) {
|
||||
if (s->remuxing) {
|
||||
av_write_trailer(s->ofmt_ctx);
|
||||
avio_closep(&s->ofmt_ctx->pb);
|
||||
avcodec_free_context(&s->codec_ctx);
|
||||
avformat_free_context(s->ofmt_ctx);
|
||||
} else {
|
||||
fclose(s->of);
|
||||
|
||||
Reference in New Issue
Block a user