diff options
author | Anton Khirnov <anton@khirnov.net> | 2012-01-28 19:15:15 +0100 |
---|---|---|
committer | Reinhard Tartler <siretart@tauware.de> | 2012-02-26 09:09:26 +0100 |
commit | 571a4cf273a84b6f7f38697b462e667d4f0fddc4 (patch) | |
tree | 0b84c39993b378ca1a73fb339980819d04ad7fb8 /tools/qt-faststart.c | |
parent | bafd38a352126385ec0dcea51017229373b1c2f3 (diff) | |
download | ffmpeg-571a4cf273a84b6f7f38697b462e667d4f0fddc4.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.
(cherry picked from commit bc901998487bf9b77a423961d9f961bcc28a9291)
Signed-off-by: Reinhard Tartler <siretart@tauware.de>
Diffstat (limited to 'tools/qt-faststart.c')
0 files changed, 0 insertions, 0 deletions