avcodec/pgssubdec: rename PICTURE_SEGMENT
authorJohn Stebbins <stebbins@jetheaddev.com>
Wed, 18 Jun 2014 20:38:36 +0000 (13:38 -0700)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 30 Jun 2014 14:39:41 +0000 (16:39 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/pgssubdec.c

index df612de..7d1039a 100644 (file)
@@ -37,7 +37,7 @@
 
 enum SegmentType {
     PALETTE_SEGMENT      = 0x14,
-    PICTURE_SEGMENT      = 0x15,
+    OBJECT_SEGMENT       = 0x15,
     PRESENTATION_SEGMENT = 0x16,
     WINDOW_SEGMENT       = 0x17,
     DISPLAY_SEGMENT      = 0x80,
@@ -497,7 +497,7 @@ static int decode(AVCodecContext *avctx, void *data, int *data_size,
         case PALETTE_SEGMENT:
             parse_palette_segment(avctx, buf, segment_length);
             break;
-        case PICTURE_SEGMENT:
+        case OBJECT_SEGMENT:
             parse_picture_segment(avctx, buf, segment_length);
             break;
         case PRESENTATION_SEGMENT: