Browse Source

roqvideodec: replace dead code by assert

Fixes CID732195
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n1.1
Michael Niedermayer 12 years ago
parent
commit
a06f943f9d
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      libavcodec/roqvideodec.c

+ 2
- 1
libavcodec/roqvideodec.c View File

@@ -25,6 +25,7 @@
* http://www.csse.monash.edu.au/~timf/ * http://www.csse.monash.edu.au/~timf/
*/ */


#include "libavutil/avassert.h"
#include "avcodec.h" #include "avcodec.h"
#include "bytestream.h" #include "bytestream.h"
#include "roqvideo.h" #include "roqvideo.h"
@@ -149,7 +150,7 @@ static void roqvideo_decode_frame(RoqContext *ri)
} }
break; break;
default: default:
av_log(ri->avctx, AV_LOG_ERROR, "Unknown vq code: %d\n", vqid);
av_assert2(0);
} }
} }




Loading…
Cancel
Save