]> git.sesse.net Git - ffmpeg/commitdiff
h264: remove useless assignment.
authorBenoit Fouet <benoit.fouet@free.fr>
Thu, 31 Jul 2014 12:32:02 +0000 (14:32 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 1 Aug 2014 10:20:01 +0000 (12:20 +0200)
source index, as well as dest one, is unconditionnaly set afterwards,
before being effectively used.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/h264.c

index 10905db49abbac05868a1c7bbee03dde6c81378e..8fa35c74d10e2c7a98af487d552328a52e0e178c 100644 (file)
@@ -296,7 +296,6 @@ const uint8_t *ff_h264_decode_nal(H264Context *h, const uint8_t *src,
     // use second escape buffer for inter data
     bufidx = h->nal_unit_type == NAL_DPC ? 1 : 0;
 
-    si = h->rbsp_buffer_size[bufidx];
     av_fast_padded_malloc(&h->rbsp_buffer[bufidx], &h->rbsp_buffer_size[bufidx], length+MAX_MBPAIR_SIZE);
     dst = h->rbsp_buffer[bufidx];