Skip to content

Commit

Permalink
vp9_pack_bitstream: remove a dead store
Browse files Browse the repository at this point in the history
Fixes a static analysis warning:
Value stored to 'data_size' is never read

Bug: webm:1844
Change-Id: Ia27181b1051bb2c3a6bc4a4c2549df8b0525e889
(cherry picked from commit 9f73377)
  • Loading branch information
jzern authored and jeromejj committed May 14, 2024
1 parent b1cb83c commit 34d3114
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion vp9/encoder/vp9_bitstream.c
Original file line number Diff line number Diff line change
Expand Up @@ -1402,7 +1402,6 @@ void vp9_pack_bitstream(VP9_COMP *cpi, uint8_t *dest, size_t dest_size,
if (cm->show_existing_frame) {
uncompressed_hdr_size = vpx_wb_bytes_written(&wb);
data += uncompressed_hdr_size;
data_size -= uncompressed_hdr_size;
*size = data - dest;
return;
}
Expand Down

0 comments on commit 34d3114

Please sign in to comment.