Mercurial > libavcodec.hg
comparison utils.c @ 6219:a0a645626940 libavcodec
one "cast discards qualifiers from pointer target type" less
author | michael |
---|---|
date | Fri, 01 Feb 2008 03:29:43 +0000 |
parents | 4ba171d6d84a |
children | 73c09e922744 |
comparison
equal
deleted
inserted
replaced
6218:dfdff1ca78a7 | 6219:a0a645626940 |
---|---|
998 { | 998 { |
999 int ret; | 999 int ret; |
1000 | 1000 |
1001 *got_sub_ptr = 0; | 1001 *got_sub_ptr = 0; |
1002 ret = avctx->codec->decode(avctx, sub, got_sub_ptr, | 1002 ret = avctx->codec->decode(avctx, sub, got_sub_ptr, |
1003 (uint8_t *)buf, buf_size); | 1003 buf, buf_size); |
1004 if (*got_sub_ptr) | 1004 if (*got_sub_ptr) |
1005 avctx->frame_number++; | 1005 avctx->frame_number++; |
1006 return ret; | 1006 return ret; |
1007 } | 1007 } |
1008 | 1008 |