Commit 16b44d9a authored by Mark Thompson's avatar Mark Thompson

lavd/kmsgrab: Fix packet flag setting

Found-by: 's avatarJames Almer <jamrial@gmail.com>
parent 6561cdd7
...@@ -193,7 +193,7 @@ static int kmsgrab_read_packet(AVFormatContext *avctx, AVPacket *pkt) ...@@ -193,7 +193,7 @@ static int kmsgrab_read_packet(AVFormatContext *avctx, AVPacket *pkt)
pkt->data = (uint8_t*)frame; pkt->data = (uint8_t*)frame;
pkt->size = sizeof(*frame); pkt->size = sizeof(*frame);
pkt->pts = now; pkt->pts = now;
pkt->flags = AV_PKT_FLAG_TRUSTED; pkt->flags |= AV_PKT_FLAG_TRUSTED;
return 0; return 0;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment