[FFmpeg-cvslog] avutil/pixdesc: remove unneeded assignment

Michael Niedermayer git at videolan.org
Thu Jul 31 21:21:03 CEST 2014


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Thu Jul 31 20:44:46 2014 +0200| [a75a60f68610c87ca4f2eab081f946d01da506d8] | committer: Michael Niedermayer

avutil/pixdesc: remove unneeded assignment

Found-by: CSA
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=a75a60f68610c87ca4f2eab081f946d01da506d8
---

 libavutil/pixdesc.c |    1 -
 1 file changed, 1 deletion(-)

diff --git a/libavutil/pixdesc.c b/libavutil/pixdesc.c
index f00907d..9792056 100644
--- a/libavutil/pixdesc.c
+++ b/libavutil/pixdesc.c
@@ -2263,7 +2263,6 @@ enum AVPixelFormat av_find_best_pix_fmt_of_2(enum AVPixelFormat dst_pix_fmt1, en
     if(!has_alpha)
         loss_mask &= ~FF_LOSS_ALPHA;
 
-    dst_pix_fmt = AV_PIX_FMT_NONE;
     score1 = get_pix_fmt_score(dst_pix_fmt1, src_pix_fmt, &loss1, loss_mask);
     score2 = get_pix_fmt_score(dst_pix_fmt2, src_pix_fmt, &loss2, loss_mask);
 



More information about the ffmpeg-cvslog mailing list