int avcodec_decode_video2(AVCodecContext *avctx, AVFrame *picture,
int *got_picture_ptr,
AVPacket *avpkt);
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
others
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
_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user