diff options
author | Diego Biurrun <diego@biurrun.de> | 2012-12-23 21:10:05 +0400 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2012-12-23 21:56:56 +0400 |
commit | f3298f12997eb4b7ad203766f768f92e3dd72a2a (patch) | |
tree | e349cd427d9cfcf74aae21a85cff911c2aacaee6 /libavformat/rsodec.c | |
parent | ed40b6bf07342dc80f616e909f0e6fec4073ade4 (diff) |
Return proper error code after av_log_ask_for_sample()
Diffstat (limited to 'libavformat/rsodec.c')
-rw-r--r-- | libavformat/rsodec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rsodec.c b/libavformat/rsodec.c index 3a441a3a3d..2d57a964da 100644 --- a/libavformat/rsodec.c +++ b/libavformat/rsodec.c @@ -50,7 +50,7 @@ static int rso_read_header(AVFormatContext *s) bps = av_get_bits_per_sample(codec); if (!bps) { av_log_ask_for_sample(s, "could not determine bits per sample\n"); - return AVERROR_INVALIDDATA; + return AVERROR_PATCHWELCOME; } /* now we are ready: build format streams */ |