diff options
author | Martin Storsjö <martin@martin.st> | 2012-05-05 00:02:15 +0300 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2012-05-05 20:32:09 +0300 |
commit | dee48d095d23ac2cf5e15574bc6bb963722edc48 (patch) | |
tree | 2ba496d6efdfe039417e4f04601ba571c8663c38 | |
parent | f0ccd53a3b0bbe704a7bc94dbc8caac7be81e079 (diff) | |
download | ffmpeg-dee48d095d23ac2cf5e15574bc6bb963722edc48.tar.gz |
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>
-rw-r--r-- | libavformat/rtpdec_h264.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rtpdec_h264.c b/libavformat/rtpdec_h264.c index 399ca47ff7..505bc8171b 100644 --- a/libavformat/rtpdec_h264.c +++ b/libavformat/rtpdec_h264.c @@ -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; |