• Stefano Sabatini's avatar
    examples/muxing: set codec in the codec context · 13bbc464
    Stefano Sabatini authored
    Make add_{audio,video}_stream return the found codec, and pass it to
    avcodec_open2() through open_{audio,video} functions.
    
    Fix failure:
    No codec provided to avcodec_open2().
    could not open codec
    
    This is also consistent with the use of the avcodec_open2() API in the
    codebase.
    13bbc464
Name
Last commit
Last update
..
Makefile Loading commit data...
decoding_encoding.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...