# HG changeset patch # User fenrir # Date 1264351032 0 # Node ID 85de0c8a19b770f49d6582a9b1de222ddae486cf # Parent 4289d95e5022f0ff58c3df97c875301e70a04ee5 Added a missing const to ff_h264_get_slice_type(). diff -r 4289d95e5022 -r 85de0c8a19b7 h264.c --- a/h264.c Sun Jan 24 16:22:09 2010 +0000 +++ b/h264.c Sun Jan 24 16:37:12 2010 +0000 @@ -2147,7 +2147,7 @@ return 0; } -int ff_h264_get_slice_type(H264Context *h) +int ff_h264_get_slice_type(const H264Context *h) { switch (h->slice_type) { case FF_P_TYPE: return 0; diff -r 4289d95e5022 -r 85de0c8a19b7 h264.h --- a/h264.h Sun Jan 24 16:22:09 2010 +0000 +++ b/h264.h Sun Jan 24 16:37:12 2010 +0000 @@ -617,7 +617,7 @@ /** * reconstructs bitstream slice_type. */ -int ff_h264_get_slice_type(H264Context *h); +int ff_h264_get_slice_type(const H264Context *h); /** * allocates tables.