Commit 1104ae65 authored by Philippe Gorley's avatar Philippe Gorley

fix maybe uninitialized variable warning

Change-Id: Ic59bdd5104d3516f6aadf66b6b92d63a7f0dd561
parent b0223a7e
......@@ -235,7 +235,7 @@ int MediaDecoder::setupFromAudioData(const AudioFormat format)
#ifdef RING_VIDEO
int MediaDecoder::setupFromVideoData()
{
int ret;
int ret = 0;
if (decoderCtx_)
avcodec_close(decoderCtx_);
......
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