| Index: media/video/h264_poc.h
|
| diff --git a/media/video/h264_poc.h b/media/video/h264_poc.h
|
| index 90d0eb904cf54b71cc85999cce42867b5501cee4..06a0dfd34119fb81359881e25c59f2b4cb6f2e76 100644
|
| --- a/media/video/h264_poc.h
|
| +++ b/media/video/h264_poc.h
|
| @@ -19,13 +19,9 @@ class MEDIA_EXPORT H264POC {
|
| H264POC();
|
| ~H264POC();
|
|
|
| - // Compute the picture order count for a slice, storing the result into
|
| - // |*pic_order_cnt|.
|
| - // TODO(sandersd): Switch to a base::Optional<int32_t> return type.
|
| - bool ComputePicOrderCnt(
|
| - const H264SPS* sps,
|
| - const H264SliceHeader& slice_hdr,
|
| - int32_t* pic_order_cnt);
|
| + // Returns the picture order count for a slice.
|
| + base::Optional<int32_t> ComputePicOrderCnt(const H264SPS* sps,
|
| + const H264SliceHeader& slice_hdr);
|
|
|
| // As specified, the POC of a frame with MMCO5 changes (to zero) after
|
| // decoding. We instead return 0 immediately, and flag that this has occurred
|
|
|