[Libav-user] Problem facing while decoding
kumar.pavan463 at gmail.com
Wed May 18 09:52:54 CEST 2011
int avcodec_decode_video2(AVCodecContext *avctx, AVFrame *picture,
You might have to align the input buffer avpkt->data.
The alignment requirements depend on the CPU: on some CPUs it isn't
necessary at all, on others it won't work at all if not aligned and on
it will work but it will have an impact on performance.
avpkt->data should have 4 byte alignment at minimum.
what actually mean the 4 byte alignment in it,
how to verify the whether it is 4byte alignment or not?
and if the data is not in that 4 byte alignment then how can i will align to
that 4 byte alignment
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Libav-user