Skip to content
Snippets Groups Projects
Commit 16c88465 authored by James Almer's avatar James Almer
Browse files

avcodec/decode: also update consumed bytes on last_pkt_props->size

parent 0699722a
No related branches found
No related tags found
No related merge requests found
......@@ -580,6 +580,7 @@ FF_ENABLE_DEPRECATION_WARNINGS
pkt->data += consumed;
pkt->size -= consumed;
avci->last_pkt_props->size -= consumed; // See extract_packet_props() comment.
pkt->pts = AV_NOPTS_VALUE;
pkt->dts = AV_NOPTS_VALUE;
avci->last_pkt_props->pts = AV_NOPTS_VALUE;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment