[FFmpeg-cvslog] bmv: remove unreachable default case

Michael Niedermayer git at videolan.org
Thu Oct 18 21:13:43 CEST 2012


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Thu Oct 18 20:49:20 2012 +0200| [97d1cb5cd48c3a5f6f98be619081a5b886f637a3] | committer: Michael Niedermayer

bmv: remove unreachable default case

Fixes CID732191
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

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

 libavcodec/bmv.c |    2 --
 1 file changed, 2 deletions(-)

diff --git a/libavcodec/bmv.c b/libavcodec/bmv.c
index a345ea4..665af92 100644
--- a/libavcodec/bmv.c
+++ b/libavcodec/bmv.c
@@ -187,8 +187,6 @@ static int decode_bmv_frame(const uint8_t *source, int src_len, uint8_t *frame,
                 memset(dst, val, len);
             }
             break;
-        default:
-            break;
         }
         if (dst == dst_end)
             return 0;



More information about the ffmpeg-cvslog mailing list