title: Can anyone help in understanding AVFrame.linesize[]?
body: <p>I tried to find what each cell of <code>AVFrame.linesize[]</code> means, but I didn't found. </p>
  
  <p>As I understood <code>linesize[0]</code> is the width, <code>linesize[1]</code> is the height. </p>
  
  <ol>
  <li>If I'm right what does other cells mean?</li>
  <li>why after <code>avcodec_decode_video2(codecCtxDecode, frameDecoded, &amp;frameFinished, &amp;packet);</code> only linesize[0] has the value and other cells are always 0?</li>
  </ol>
  
  <p><strong>UPDATED</strong></p>
  
  <p>I think AVFrame.data[i] and AVFrame.linesize[i] are the data of specific color in the row and the length of the row, am I correct?</p>