« Previous | Next » 

Revision 10931720

ID10931720cd55d83e0b933b8a9bb0795fd9e48875
Parent 5a153604
Child bb82ea79

Added by Stefano Sabatini over 9 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.

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences