We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a10f75c commit c891b15Copy full SHA for c891b15
library-jni/jni/player.c
@@ -1792,9 +1792,11 @@ void player_print_video_informations(struct Player *player,
1792
AVDictionary *metadaat = stream->metadata;
1793
AVDictionaryEntry *tag = NULL;
1794
LOGI(3, "-- metadata:")
1795
- while ((tag = av_dict_get(metadaat, "", tag, AV_DICT_IGNORE_SUFFIX))
1796
- != NULL) {
1797
- LOGI(3, "--- %s = %s", tag->key, tag->value);
+ if (metadaat) {
+ while ((tag = av_dict_get(metadaat, "", tag, AV_DICT_IGNORE_SUFFIX))
+ != NULL) {
1798
+ LOGI(3, "--- %s = %s", tag->key, tag->value);
1799
+ }
1800
}
1801
LOGI(3, "-- codec_name: %s", codec->codec_name);
1802
char *codec_type = "other";
0 commit comments