Commit 95348174 authored by Derek Buitenhuis's avatar Derek Buitenhuis

Merge commit 'c80344d0'

* commit 'c80344d0':
  mpegvideo_enc: use avcodec_free_context() instead of av_free()
Merged-by: 's avatarDerek Buitenhuis <derek.buitenhuis@gmail.com>
parents 6614214e c80344d0
...@@ -1518,8 +1518,7 @@ static int estimate_best_b_count(MpegEncContext *s) ...@@ -1518,8 +1518,7 @@ static int estimate_best_b_count(MpegEncContext *s)
} }
} }
avcodec_close(c); avcodec_free_context(&c);
av_freep(&c);
return best_b_count; return best_b_count;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment