Skip to content

Commit

Permalink
avformat/jpegxl_anim_dec: Set position
Browse files Browse the repository at this point in the history
Needed for AVFMT_GENERIC_INDEX to work.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
  • Loading branch information
mkver committed Mar 21, 2024
1 parent 80c683b commit 55ad3e5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libavformat/jpegxl_anim_dec.c
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,8 @@ static int jpegxl_anim_read_packet(AVFormatContext *s, AVPacket *pkt)
if (ret < size - offset)
pkt->size = ret + offset;

pkt->pos = 0;

return 0;
}

Expand Down

0 comments on commit 55ad3e5

Please sign in to comment.