#define VP10_SYNC_CODE_1 0x83
#define VP10_SYNC_CODE_2 0x43
-#define VP9_FRAME_MARKER 0x2
+#define VPX_FRAME_MARKER 0x2
#ifdef __cplusplus
cm->last_frame_type = cm->frame_type;
cm->last_intra_only = cm->intra_only;
- if (vpx_rb_read_literal(rb, 2) != VP9_FRAME_MARKER)
+ if (vpx_rb_read_literal(rb, 2) != VPX_FRAME_MARKER)
vpx_internal_error(&cm->error, VPX_CODEC_UNSUP_BITSTREAM,
"Invalid frame marker");
VP10_COMMON *const cm = &cpi->common;
MACROBLOCKD *const xd = &cpi->td.mb.e_mbd;
- vpx_wb_write_literal(wb, VP9_FRAME_MARKER, 2);
+ vpx_wb_write_literal(wb, VPX_FRAME_MARKER, 2);
write_profile(cm->profile, wb);
const int frame_marker = vpx_rb_read_literal(&rb, 2);
const BITSTREAM_PROFILE profile = vp10_read_profile(&rb);
- if (frame_marker != VP9_FRAME_MARKER)
+ if (frame_marker != VPX_FRAME_MARKER)
return VPX_CODEC_UNSUP_BITSTREAM;
if (profile >= MAX_PROFILES)