Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
TsubakiDev committed May 13, 2024
1 parent 59b2375 commit ebd5fbc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ijkmedia/ijkplayer/ff_cmdutils.c
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,10 @@ void *grow_array(void *array, int elem_size, int *size, int new_size)

double get_rotation(AVStream *st)
{
if (!st || !st->metadata) { // no video stream
return 0;
}

AVDictionaryEntry *rotate_tag = av_dict_get(st->metadata, "rotate", NULL, 0);
uint8_t* displaymatrix = av_stream_get_side_data(st,
AV_PKT_DATA_DISPLAYMATRIX, NULL);
Expand Down

0 comments on commit ebd5fbc

Please sign in to comment.