avcodec/decode: also update consumed bytes on last_pkt_props->size
This commit is contained in:
parent
0699722ad0
commit
16c88465a1
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue