diff options
author | Benoit Fouet <benoit.fouet@free.fr> | 2014-07-31 14:32:02 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-08-01 12:20:01 +0200 |
commit | 66af2a01d27506f4942d9982f48d2e99e9d1bd9c (patch) | |
tree | 9ab7ede492ba72d938447317a103334357f8b396 /libavcodec/h264.c | |
parent | 7db3a46a3d9d10a2b90e8076bf3219ef5a53544b (diff) | |
download | ffmpeg-66af2a01d27506f4942d9982f48d2e99e9d1bd9c.tar.gz |
h264: remove useless assignment.
source index, as well as dest one, is unconditionnaly set afterwards,
before being effectively used.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/h264.c')
-rw-r--r-- | libavcodec/h264.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libavcodec/h264.c b/libavcodec/h264.c index 10905db49a..8fa35c74d1 100644 --- a/libavcodec/h264.c +++ b/libavcodec/h264.c @@ -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]; |