git.videolan.org
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a1bbb3
)
h264dsp: assert that depth is supported
author
Michael Niedermayer
<michaelni@gmx.at>
Tue, 3 Jul 2012 01:20:51 +0000
(
03:20
+0200)
committer
Michael Niedermayer
<michaelni@gmx.at>
Tue, 3 Jul 2012 01:31:06 +0000
(
03:31
+0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/h264dsp.c
patch
|
blob
|
history
diff --git
a/libavcodec/h264dsp.c
b/libavcodec/h264dsp.c
index
bd35aa3
..
6e329f2
100644
(file)
--- a/
libavcodec/h264dsp.c
+++ b/
libavcodec/h264dsp.c
@@
-26,6
+26,7
@@
*/
#include <stdint.h>
+#include "libavutil/avassert.h"
#include "avcodec.h"
#include "h264dsp.h"
@@
-107,6
+108,7
@@
void ff_h264dsp_init(H264DSPContext *c, const int bit_depth, const int chroma_fo
H264_DSP(10);
break;
default:
+ av_assert0(bit_depth<=8);
H264_DSP(8);
break;
}