Commit 9274d25e authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Fix libvlc_video_get_height and libvlc_video_get_width

parent 2c27d239
......@@ -173,7 +173,7 @@ int libvlc_video_get_height( libvlc_media_player_t *p_mi )
{
unsigned height, width;
if (libvlc_video_get_size (p_mi, 0, &height, &width))
if (libvlc_video_get_size (p_mi, 0, &width, &height))
return 0;
return height;
}
......@@ -182,7 +182,7 @@ int libvlc_video_get_width( libvlc_media_player_t *p_mi )
{
unsigned height, width;
if (libvlc_video_get_size (p_mi, 0, &height, &width))
if (libvlc_video_get_size (p_mi, 0, &width, &height))
return 0;
return width;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment