Fixed bug using wrong enum in x/y range check.

In the "check if x/y ranges are valid" section of the attach() function, the
enum source_mode was being used instead of source_mode_dim.  Since these two
enums are very similar, it's not likely this change will affect anything, but
it does fix the compiler warning.
merge-requests/1/head
Mike Kelly 2012-03-25 15:04:00 -07:00
rodzic bd7faf0917
commit 2903d6687c
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -4226,7 +4226,7 @@ get_double ( &(result[48] ) ));
/* check if x/y ranges are valid :-((( */
{
source_mode mode;
source_mode_dim mode;
for (mode = AV_NORMAL_DIM; mode < AV_SOURCE_MODE_DIM_LAST; ++ mode)
{