« Previous | Next » 

Revision 10931720

Parent 5a153604
Child bb82ea79

Added by Stefano Sabatini about 10 years ago

imgutils: generalize linesize computation for bitstream formats

Make it a subcase of the general algorithm used for the non-bitstream
case. Simplify, and make av_image_get_linesize() and
av_image_fill_linesizes() correctly return the right value when plane
!= 0.

In particular fix a crash occurring with:
-vf format=monow,showinfo,format=monow.


  • added
  • modified
  • copied
  • renamed
  • deleted

View differences