From: Reto Schneider <github@reto-schneider.ch>
Date: Mon, 23 Jan 2012 16:13:15 +0000 (+0100)
Subject: Renamed AM7XXX_IMAGE_FORMAT_YUV_NV12 to AM7XXX_IMAGE_FORMAT_NV12.
X-Git-Tag: v0.1.0~22
X-Git-Url: https://git.ao2.it/libam7xxx.git/commitdiff_plain/8aadc7ab6f9d1aa5b180bc95f509fd54c1cf0d94

Renamed AM7XXX_IMAGE_FORMAT_YUV_NV12 to AM7XXX_IMAGE_FORMAT_NV12.
---

diff --git a/src/am7xxx.h b/src/am7xxx.h
index 0926d34..5b5f111 100644
--- a/src/am7xxx.h
+++ b/src/am7xxx.h
@@ -36,8 +36,8 @@ typedef enum {
 } am7xxx_packet_type;
 
 typedef enum {
-	AM7XXX_IMAGE_FORMAT_JPEG     = 1,
-	AM7XXX_IMAGE_FORMAT_YUV_NV12 = 2,
+	AM7XXX_IMAGE_FORMAT_JPEG = 1,
+	AM7XXX_IMAGE_FORMAT_NV12 = 2,
 } am7xxx_image_format;
 
 typedef enum {
diff --git a/src/picoproj.c b/src/picoproj.c
index 3667e5f..0b9e45c 100644
--- a/src/picoproj.c
+++ b/src/picoproj.c
@@ -67,7 +67,7 @@ int main(int argc, char *argv[])
 			case AM7XXX_IMAGE_FORMAT_JPEG:
 				fprintf(stdout, "JPEG format\n");
 				break;
-			case AM7XXX_IMAGE_FORMAT_YUV_NV12:
+			case AM7XXX_IMAGE_FORMAT_NV12:
 				fprintf(stdout, "NV12 format\n");
 				break;
 			default: