summaryrefslogtreecommitdiff
path: root/libavformat/rsodec.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/rsodec.c')
-rw-r--r--libavformat/rsodec.c2
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 */