Skip to content

Commit

Permalink
rtpdec_vc2hq: avoid magic number
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasVolkert committed Jun 13, 2016
1 parent 668fb1c commit 1f87233
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libavformat/rtpdec_vc2hq.c
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ static int vc2hq_handle_frame_fragment(AVFormatContext *ctx, PayloadContext *pl_
if (res < 0)
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);

pl_ctx->frame_size = 0;
Expand Down

0 comments on commit 1f87233

Please sign in to comment.