* clarifying the AVInputFormat::read_seek return value
* changing dv_read_seek() to return the proper value (patch by Maksym Veremeyenko) Originally committed as revision 9418 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:

committed by
Roman Shaposhnik

parent
ffaa3ecb60
commit
05ce0f11e4
@@ -426,7 +426,8 @@ static int dv_read_seek(AVFormatContext *s, int stream_index,
|
||||
|
||||
dv_offset_reset(c, offset / c->sys->frame_size);
|
||||
|
||||
return url_fseek(&s->pb, offset, SEEK_SET);
|
||||
offset = url_fseek(&s->pb, offset, SEEK_SET);
|
||||
return (offset < 0)?offset:0;
|
||||
}
|
||||
|
||||
static int dv_read_close(AVFormatContext *s)
|
||||
|
Reference in New Issue
Block a user