[FFmpeg-devel] [PATCH] Add DPX decoder rev-26
Måns Rullgård
mans
Fri Jun 12 01:04:11 CEST 2009
Jimmy Christensen <jimmy at ghost.dk> writes:
> On 2009-06-12 00:06, M?ns Rullg?rd wrote:
>> Jimmy Christensen<jimmy at ghost.dk> writes:
>>
>>> On 2009-06-11 19:31, Diego Biurrun wrote:
>>>> On Thu, Jun 11, 2009 at 05:59:56AM +0200, Jimmy Christensen wrote:
>>>>> [...]
>>>>
>>>> This should be fixed:
>>>>
>>>> libavcodec/dpx.c: In function `decode_frame':
>>>> libavcodec/dpx.c:156: warning: initialization from incompatible pointer type
>>>>
>>>
>>> Typecasted it, which seemed to remove the warning.
>>
>> Why not make it the correct type instead?
>>
>
> How?
>
> I need to have it as a uint16_t since it's a 16-bit per color frame.
No choice then I guess. I admit I didn't read the code carefully the
first time.
--
M?ns Rullg?rd
mans at mansr.com
More information about the ffmpeg-devel
mailing list