[Libav-user] Regarding decoding the video data

Carl Eugen Hoyos cehoyos at ag.or.at
Tue Aug 7 07:46:57 CEST 2012

Mohd Arshad Saleem <marshadsaleem at ...> writes:

> 2) In AVFrame structure what is int linesize[4] field and char *data[4].

Some formats (for example yuva420p) need four pointers 
(and four linesizes).
When decoding h264, you can ignore the fourth pointer.

Carl Eugen

More information about the Libav-user mailing list