diff options
author | Martin Storsjö <martin@martin.st> | 2011-11-03 11:40:13 +0200 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2011-11-03 13:29:48 +0200 |
commit | cae4f4b77e7dc037ad5dfcc7bc636788f1420ba9 (patch) | |
tree | ea4b9db9f6e050bf066a1ec300515d0c18a03a79 /libavutil/libm.h | |
parent | 1b6da627d49e98fe7661c9aa9ec4e16ab04dfda4 (diff) | |
download | ffmpeg-cae4f4b77e7dc037ad5dfcc7bc636788f1420ba9.tar.gz |
avcodec: Make sure codec_type is set by avcodec_get_context_defaults2
This function used to set codec_type. With the current fallback
implementation based on avcodec_get_context_defaults3, codec_type
won't be set to the value passed in, but will be set to
AVMEDIA_TYPE_UNKNOWN. Legacy callers of this function might expect
this field to be set to the value passed in.
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavutil/libm.h')
0 files changed, 0 insertions, 0 deletions