[vlc-devel] [PATCH] Support for rotated MP4 Movies (bug #2882)
Jean-Baptiste Kempf
jb at videolan.org
Fri Feb 7 15:12:47 CET 2014
On 06 Feb, Matthias Keiser wrote :
> + char *angle = NULL;
> +
> + switch (vout->p->filter.format.orientation) {
> +
> + case ORIENT_ROTATED_90:
> + angle = "270";
> + break;
> + case ORIENT_ROTATED_180:
> + angle = "180";
> + break;
> + case ORIENT_ROTATED_270:
> + angle = "90";
> + break;
> + default:
> + angle = NULL;
> + break;
> + }
Does this not warn for you about const corrrectness?
--
Jean-Baptiste Kempf
http://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device
More information about the vlc-devel
mailing list