Skip to content
Snippets Groups Projects
Commit 1104ae65 authored by Philippe Gorley's avatar Philippe Gorley
Browse files

fix maybe uninitialized variable warning

Change-Id: Ic59bdd5104d3516f6aadf66b6b92d63a7f0dd561
parent b0223a7e
No related branches found
No related tags found
No related merge requests found
...@@ -235,7 +235,7 @@ int MediaDecoder::setupFromAudioData(const AudioFormat format) ...@@ -235,7 +235,7 @@ int MediaDecoder::setupFromAudioData(const AudioFormat format)
#ifdef RING_VIDEO #ifdef RING_VIDEO
int MediaDecoder::setupFromVideoData() int MediaDecoder::setupFromVideoData()
{ {
int ret; int ret = 0;
if (decoderCtx_) if (decoderCtx_)
avcodec_close(decoderCtx_); avcodec_close(decoderCtx_);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment