aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/jvdec.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2012-01-28 19:15:15 +0100
committerReinhard Tartler <siretart@tauware.de>2012-02-26 09:09:26 +0100
commit571a4cf273a84b6f7f38697b462e667d4f0fddc4 (patch)
tree0b84c39993b378ca1a73fb339980819d04ad7fb8 /libavformat/jvdec.c
parentbafd38a352126385ec0dcea51017229373b1c2f3 (diff)
downloadffmpeg-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 'libavformat/jvdec.c')
0 files changed, 0 insertions, 0 deletions