On 27/11/21 01:32, Andreas Rheinhardt wrote:
Zane van Iperen:
+
+static int scd_seek(AVFormatContext *s, int stream_index,
+ int64_t pts, int flags)
+{
+ SCDDemuxContext *ctx = s->priv_data;
+ SCDTrackHeader *trk = ctx->tracks + stream_index;
+
+ if (pts != 0)
+ return AVERROR(EINVAL);
+
+ trk->bytes_read = 0;
You are only resetting the one track that the user explicitly specified.
This is not in line with how this flag is generally understood.
How it it meant to be understood? Do I reset the entire file, regardless
of what's in stream_index?
+ return 0;
+
+}
Weird empty lines.
Fixed, my bad.
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".