2015-02-05 10:52 GMT+02:00 林其益 <[email protected]>:

>  Dear Libav:
>
> ...
>
>   2. Could I allocate my own memory to the data[] array to AVFrame (not
> allocate by the ffmpeg library)?
>
> ......
>
>
>
> Best Regards,
>
> *Antony Lin*
>
>
>
>
>
> _______________________________________________
> Libav-user mailing list
> [email protected]
> http://ffmpeg.org/mailman/listinfo/libav-user
>
>
You need to read comment for AVCodecContext::get_buffer2
You set this handler to allocate AVFrame memory instead of default handler.
_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to