• Nicolas George's avatar
    examples/muxing: fix memory leak. · 9b211c43
    Nicolas George authored
    Do not re-call avcodec_get_context_defaults3(), it is already
    called by avformat_new_stream() and it leaks the codec
    priv_data that was already allocated.
    
    Use avformat_free_context() instead of freeing (not)
    everything manually.
    
    Fix trac ticket #2322.
    9b211c43
Name
Last commit
Last update
..
Makefile Loading commit data...
README Loading commit data...
decoding_encoding.c Loading commit data...
demuxing.c Loading commit data...
filtering_audio.c Loading commit data...
filtering_video.c Loading commit data...
metadata.c Loading commit data...
muxing.c Loading commit data...
resampling_audio.c Loading commit data...
scaling_video.c Loading commit data...