Skip to content

Commit

Permalink
h264: fix h264-test
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Niedermayer <[email protected]>
  • Loading branch information
michaelni committed Jul 21, 2011
1 parent f93f696 commit ba99474
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions libavcodec/h264.c
Original file line number Diff line number Diff line change
Expand Up @@ -3870,6 +3870,7 @@ static inline void fill_mb_avail(H264Context *h){
#undef random
#define COUNT 8000
#define SIZE (COUNT*40)
extern AVCodec ff_h264_decoder;
int main(void){
int i;
uint8_t temp[SIZE];
Expand All @@ -3879,6 +3880,8 @@ int main(void){
DSPContext dsp;
AVCodecContext avctx;

avcodec_get_context_defaults3(&avctx, &ff_h264_decoder);

dsputil_init(&dsp, &avctx);

init_put_bits(&pb, temp, SIZE);
Expand Down

0 comments on commit ba99474

Please sign in to comment.