[FFmpeg-cvslog] h264: remove useless assignment.
Benoit Fouet
git at videolan.org
Fri Aug 1 12:36:58 CEST 2014
ffmpeg | branch: master | Benoit Fouet <benoit.fouet at free.fr> | Thu Jul 31 14:32:02 2014 +0200| [66af2a01d27506f4942d9982f48d2e99e9d1bd9c] | committer: Michael Niedermayer
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 at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=66af2a01d27506f4942d9982f48d2e99e9d1bd9c
---
libavcodec/h264.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/libavcodec/h264.c b/libavcodec/h264.c
index 10905db..8fa35c7 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];
More information about the ffmpeg-cvslog
mailing list