summaryrefslogtreecommitdiff
path: root/src/libxinevdec/image.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libxinevdec/image.c')
-rw-r--r--src/libxinevdec/image.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libxinevdec/image.c b/src/libxinevdec/image.c
index 42e5a785c..23712f793 100644
--- a/src/libxinevdec/image.c
+++ b/src/libxinevdec/image.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: image.c,v 1.7 2003/10/23 20:12:34 mroi Exp $
+ * $Id: image.c,v 1.8 2003/11/15 13:01:23 miguelfreitas Exp $
*
* a image video decoder
*/
@@ -266,7 +266,7 @@ static void end_callback(png_structp png_ptr, png_infop info) {
*out = le2me_16(*out);
}
}
- this->stream->stream_info[XINE_STREAM_INFO_FRAME_DURATION] = img->duration;
+ xine_set_stream_info(this->stream, XINE_STREAM_INFO_FRAME_DURATION, img->duration);
img->draw(img, this->stream);
img->free(img);
}