[FFmpeg-devel] [PATCH 01/12] bitpacked: Remove dead store

Derek Buitenhuis derek.buitenhuis at gmail.com
Thu Jul 6 21:28:31 EEST 2017


Signed-off-by: Derek Buitenhuis <derek.buitenhuis at gmail.com>
---
 libavcodec/bitpacked.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/libavcodec/bitpacked.c b/libavcodec/bitpacked.c
index 12174d6007..f0b417d595 100644
--- a/libavcodec/bitpacked.c
+++ b/libavcodec/bitpacked.c
@@ -68,10 +68,6 @@ static int bitpacked_decode_yuv422p10(AVCodecContext *avctx, AVFrame *frame,
     if (ret < 0)
         return ret;
 
-    y = (uint16_t*)frame->data[0];
-    u = (uint16_t*)frame->data[1];
-    v = (uint16_t*)frame->data[2];
-
     if (frame_size > packet_size)
         return AVERROR_INVALIDDATA;
 
-- 
2.11.0



More information about the ffmpeg-devel mailing list