h2645_parse: Make ff_h2645_packet_split reference-compatible
This is in preparation for a patch for cbs_h2645. Now the packet's rbsp_buffer can be owned by an AVBuffer. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@googlemail.com>
This commit is contained in:
committed by
Mark Thompson
parent
cf81284b1c
commit
992532ee31
@@ -29,7 +29,8 @@ static int hevc_decode_nal_units(const uint8_t *buf, int buf_size, HEVCParamSets
|
||||
int ret = 0;
|
||||
H2645Packet pkt = { 0 };
|
||||
|
||||
ret = ff_h2645_packet_split(&pkt, buf, buf_size, logctx, is_nalff, nal_length_size, AV_CODEC_ID_HEVC, 1);
|
||||
ret = ff_h2645_packet_split(&pkt, buf, buf_size, logctx, is_nalff,
|
||||
nal_length_size, AV_CODEC_ID_HEVC, 1, 0);
|
||||
if (ret < 0) {
|
||||
goto done;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user