aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/assdec.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2011-04-07 03:32:26 +0200
committerMichael Niedermayer <michaelni@gmx.at>2011-04-07 03:32:26 +0200
commitc0e51ec9c625ccd7b3a8c74754145e6c023a3848 (patch)
tree9b8e987ec11d8104cde5269008bb0d21aaac89b7 /libavformat/assdec.c
parent4b9c03b7f08f51fea3c8719f169368a46a0d3b63 (diff)
parent1f6265e011f6e56562b2f58c182bc0261062b3c4 (diff)
downloadffmpeg-c0e51ec9c625ccd7b3a8c74754145e6c023a3848.tar.gz
Merge remote branch 'qatar/master'
* qatar/master: Fix parser: mark av_parser_parse() for removal on next major bump swscale: postpone sws_getContext removal until next major bump. fate: add AAC LATM test mmst: get rid of deprecated AVERRORs lxfdec: use AVERROR(ENOMEM) instead of deprecated AVERROR_NOMEM. Reemove remaining uses of deprecated AVERROR_NOTSUPP. REIMPLEMENTED in 2 lines of code: lavf: if id3v2 tag is present and all else fails, guess by file extension Conflicts: libavformat/utils.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/assdec.c')
-rw-r--r--libavformat/assdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/assdec.c b/libavformat/assdec.c
index e04d92ae65..3dc28f21fe 100644
--- a/libavformat/assdec.c
+++ b/libavformat/assdec.c
@@ -168,7 +168,7 @@ static int read_seek2(AVFormatContext *s, int stream_index,
ASSContext *ass = s->priv_data;
if (flags & AVSEEK_FLAG_BYTE) {
- return AVERROR_NOTSUPP;
+ return AVERROR(ENOSYS);
} else if (flags & AVSEEK_FLAG_FRAME) {
if (ts < 0 || ts >= ass->event_count)
return AVERROR(ERANGE);