Browse Source

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: Martin Storsjö <martin@martin.st>
tags/n0.11
Martin Storsjö 13 years ago
parent
commit
dee48d095d
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/rtpdec_h264.c

+ 1
- 1
libavformat/rtpdec_h264.c View File

@@ -265,7 +265,7 @@ static int h264_handle_packet(AVFormatContext *ctx,
uint8_t fu_indicator = nal;
uint8_t fu_header = *buf;
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 reconstructed_nal;



Loading…
Cancel
Save