diff options
author | Anton Khirnov <anton@khirnov.net> | 2012-01-28 19:15:15 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2012-01-31 16:53:35 +0100 |
commit | bc901998487bf9b77a423961d9f961bcc28a9291 (patch) | |
tree | 10fc23398897ab2e4294e11d3af307d091b3beeb /libavformat/seek.c | |
parent | 0e72ad95f9fef6a6b8ae55e47339a5c40526502f (diff) | |
download | ffmpeg-bc901998487bf9b77a423961d9f961bcc28a9291.tar.gz |
lavc: set AVCodecContext.codec in avcodec_get_context_defaults3().
This way, if the AVCodecContext is allocated for a specific codec, the
caller doesn't need to store this codec separately and then pass it
again to avcodec_open2().
It also allows to set codec private options using av_opt_set_* before
opening the codec.
Diffstat (limited to 'libavformat/seek.c')
0 files changed, 0 insertions, 0 deletions