Commit dee48d09 authored by Martin Storsjö's avatar Martin Storsjö

rtpdec_h264: Convert commented out code into setting an unused variable

It is worth keeping instead of removing, in case reading this
bit becomes necessary at some later point.
Signed-off-by: 's avatarMartin Storsjö <martin@martin.st>
parent f0ccd53a
...@@ -265,7 +265,7 @@ static int h264_handle_packet(AVFormatContext *ctx, ...@@ -265,7 +265,7 @@ static int h264_handle_packet(AVFormatContext *ctx,
uint8_t fu_indicator = nal; uint8_t fu_indicator = nal;
uint8_t fu_header = *buf; uint8_t fu_header = *buf;
uint8_t start_bit = fu_header >> 7; uint8_t start_bit = fu_header >> 7;
// uint8_t end_bit = (fu_header & 0x40) >> 6; uint8_t av_unused end_bit = (fu_header & 0x40) >> 6;
uint8_t nal_type = (fu_header & 0x1f); uint8_t nal_type = (fu_header & 0x1f);
uint8_t reconstructed_nal; uint8_t reconstructed_nal;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment