aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/mpeg.c
diff options
context:
space:
mode:
authorStefano Sabatini <stefasab@gmail.com>2012-08-03 17:57:45 +0200
committerStefano Sabatini <stefasab@gmail.com>2012-08-07 20:04:19 +0200
commit13bbc464ed949c7ec46a1147d6f3c496d320386c (patch)
treee741b2e053b04000ea808cc6aed67c62c0214294 /libavformat/mpeg.c
parent8993c256950067f29bc750140514ef6a1f5fd05d (diff)
downloadffmpeg-13bbc464ed949c7ec46a1147d6f3c496d320386c.tar.gz
examples/muxing: set codec in the codec context
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.
Diffstat (limited to 'libavformat/mpeg.c')
0 files changed, 0 insertions, 0 deletions