Skip to content
Snippets Groups Projects
Commit 8c87bbf3 authored by Philippe Gorley's avatar Philippe Gorley Committed by Adrien Béraud
Browse files

media: remove dead code

No longer relevant.

Change-Id: Iaad2c85ada0e35af27c3c5c63fc68213351f2125
parent c25ea98e
No related branches found
No related tags found
No related merge requests found
...@@ -156,10 +156,6 @@ int MediaDecoder::setupFromAudioData(const AudioFormat format) ...@@ -156,10 +156,6 @@ int MediaDecoder::setupFromAudioData(const AudioFormat format)
RING_DBG("Finding stream info DONE"); RING_DBG("Finding stream info DONE");
if (ret < 0) { if (ret < 0) {
// workaround for this bug:
// http://patches.libav.org/patch/22541/
if (ret == -1)
ret = AVERROR_INVALIDDATA;
char errBuf[64] = {0}; char errBuf[64] = {0};
// print nothing for unknown errors // print nothing for unknown errors
if (av_strerror(ret, errBuf, sizeof errBuf) < 0) if (av_strerror(ret, errBuf, sizeof errBuf) < 0)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment