rtpdec_vc2hq: avoid magic number
This commit is contained in:
parent
668fb1cb6a
commit
1f872332c4
@ -165,7 +165,7 @@ static int vc2hq_handle_frame_fragment(AVFormatContext *ctx, PayloadContext *pl_
|
|||||||
if (res < 0)
|
if (res < 0)
|
||||||
return res;
|
return res;
|
||||||
|
|
||||||
fill_parse_info_header(pl_ctx, pkt->data, 0xE8, pl_ctx->frame_size);
|
fill_parse_info_header(pl_ctx, pkt->data, DIRAC_PCODE_PICTURE_HQ, pl_ctx->frame_size);
|
||||||
AV_WB32(&pkt->data[13], pl_ctx->frame_nr);
|
AV_WB32(&pkt->data[13], pl_ctx->frame_nr);
|
||||||
|
|
||||||
pl_ctx->frame_size = 0;
|
pl_ctx->frame_size = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user