On Fri, Jan 2, 2009 at 11:49 AM, Franco Amato <[email protected]> wrote:
> 2009/1/1 Michael Tison <[email protected]>
>
>> On Wed, Dec 31, 2008 at 9:04 AM, Franco Amato <[email protected]>
>> wrote:
>> >> and that m_audioStream->codec->codec != NULL.
>> >
>> > Yes it's null...very strange
>>
>> Ensure that avcodec_open(...) was called before avcodec_close(...) and
>> that the return value from avcodec_open(...) > 0.
>
>
> Yes the avcodec_open was called with a  return value = 0
> so I don't know which can be the problem :-(
>

Actually it was suppose to be avcodec_open(...) >= 0 (a return value
of 0 is okay).

At this point it seems you just need to go over it with a debugger and
watch the stream's codec context.

Michael
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to