Commit ebac6c66 authored by fischman@chromium.org's avatar fischman@chromium.org

Test variable against constant instead of simply testing constant.

TBR=scherkus@chromium.org


Review URL: https://chromiumcodereview.appspot.com/10825014

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148392 0039d316-1c4b-4281-b951-d872f2087c98
parent 4a32f123
......@@ -248,7 +248,7 @@ void AVStreamToVideoDecoderConfig(
aspect_ratio = stream->codec->sample_aspect_ratio;
VideoCodec codec = CodecIDToVideoCodec(stream->codec->codec_id);
VideoCodecProfile profile = kCodecVP8 ? VP8PROFILE_MAIN :
VideoCodecProfile profile = (codec == kCodecVP8) ? VP8PROFILE_MAIN :
ProfileIDToVideoCodecProfile(stream->codec->profile);
config->Initialize(codec,
profile,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment