Skip to content

Commit

Permalink
avutil/display: Drop wrong comments about matrices being allocated
Browse files Browse the repository at this point in the history
These functions work just as well with stack based matrices.

Signed-off-by: Andreas Rheinhardt <[email protected]>
  • Loading branch information
mkver committed Sep 28, 2022
1 parent c35a670 commit 3d8754c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions libavutil/display.h
Original file line number Diff line number Diff line change
Expand Up @@ -90,16 +90,16 @@ double av_display_rotation_get(const int32_t matrix[9]);
* Initialize a transformation matrix describing a pure clockwise
* rotation by the specified angle (in degrees).
*
* @param matrix an allocated transformation matrix (will be fully overwritten
* by this function)
* @param[out] matrix a transformation matrix (will be fully overwritten
* by this function)
* @param angle rotation angle in degrees.
*/
void av_display_rotation_set(int32_t matrix[9], double angle);

/**
* Flip the input matrix horizontally and/or vertically.
*
* @param matrix an allocated transformation matrix
* @param[in,out] matrix a transformation matrix
* @param hflip whether the matrix should be flipped horizontally
* @param vflip whether the matrix should be flipped vertically
*/
Expand Down

0 comments on commit 3d8754c

Please sign in to comment.