Stefano Sabatini 13bbc464ed 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.
2012-08-07 20:04:19 +02:00
..
2012-07-28 18:16:55 +02:00
2012-01-28 11:04:19 +01:00
2012-05-22 00:39:53 +02:00
2012-06-18 09:38:36 +02:00
2012-08-05 17:06:59 +00:00
2012-05-25 17:27:40 +02:00
2012-03-13 01:14:04 +01:00
2012-07-22 12:48:57 +02:00
2012-03-20 11:10:25 +00:00