Set version to 1.3.0 and update coyprights throughout.
[platform/upstream/flac.git] / src / libFLAC++ / stream_decoder.cpp
index 3894695..5d68c28 100644 (file)
@@ -1,5 +1,6 @@
 /* libFLAC++ - Free Lossless Audio Codec library
- * Copyright (C) 2002,2003,2004,2005,2006,2007  Josh Coalson
+ * Copyright (C) 2002-2009  Josh Coalson
+ * Copyright (C) 2011-2013  Xiph.Org Foundation
  *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
@@ -159,6 +160,12 @@ namespace FLAC {
                        return ::FLAC__stream_decoder_get_blocksize(decoder_);
                }
 
+               bool Stream::get_decode_position(FLAC__uint64 *position) const
+               {
+                       FLAC__ASSERT(is_valid());
+                       return ::FLAC__stream_decoder_get_decode_position(decoder_, position);
+               }
+
                ::FLAC__StreamDecoderInitStatus Stream::init()
                {
                        FLAC__ASSERT(is_valid());