Changeset cae4f4b7 in ffmpeg

Timestamp:
Nov 3, 2011, 11:29:48 AM (13 years ago)
Author:
Martin Storsjö <martin@martin.st>
Branches:
master
Children:
0d7a16a9
Parents:
1b6da627
git-author:
Martin Storsjö <martin@martin.st> (11/03/11 09:40:13)
git-committer:
Martin Storsjö <martin@martin.st> (11/03/11 11:29:48)
Message:

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>

(No files)

Note: See TracChangeset for help on using the changeset viewer.