Browse code

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>

Martin Storsjö authored on 2012/05/05 06:02:15
Showing 1 changed files
... ...
@@ -265,7 +265,7 @@ static int h264_handle_packet(AVFormatContext *ctx,
265 265
             uint8_t fu_indicator = nal;
266 266
             uint8_t fu_header = *buf;
267 267
             uint8_t start_bit = fu_header >> 7;
268
-//            uint8_t end_bit = (fu_header & 0x40) >> 6;
268
+            uint8_t av_unused end_bit = (fu_header & 0x40) >> 6;
269 269
             uint8_t nal_type = (fu_header & 0x1f);
270 270
             uint8_t reconstructed_nal;
271 271