Changes between Initial Version and Version 1 of Ticket #5781, comment 5
- Timestamp:
- Aug 19, 2016, 10:41:05 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #5781, comment 5
initial v1 9 9 > 10 10 > This looks like a secret trick, but it shouldn't be secret. Did I miss something? 11 No, you didn't. The doxygen documentation in avcodec.h for avcodec_open2() doesn't mention it because an input AVStream is not required unless you're demuxing with lavf. I agree it should be mentioned somewhere, though. 11 No, you didn't. The doxygen documentation in avcodec.h for avcodec_open2() doesn't mention it because an input AVStream is not required unless you're demuxing with libavformat. 12 I agree it should be mentioned somewhere, though. 12 13 13 14 Basically, since AVStream.AVCodecContext (which has all the stream's parameters already filled) shouldn't be used anymore, the manually allocated AVCodecContext needs to be filled with said parameters in some way, and as its doxy states that's what the above function does.


