diff options
author | Stefano Sabatini <stefasab@gmail.com> | 2012-08-03 17:57:45 +0200 |
---|---|---|
committer | Stefano Sabatini <stefasab@gmail.com> | 2012-08-07 20:04:19 +0200 |
commit | 13bbc464ed949c7ec46a1147d6f3c496d320386c (patch) | |
tree | e741b2e053b04000ea808cc6aed67c62c0214294 /libavformat/mxf.c | |
parent | 8993c256950067f29bc750140514ef6a1f5fd05d (diff) | |
download | ffmpeg-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/mxf.c')
0 files changed, 0 insertions, 0 deletions