mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-16 19:25:18 +00:00
Fix a compile error.
Original commit message from CVS: Fix a compile error.
This commit is contained in:
parent
d43b8925f4
commit
c14adca257
2 changed files with 4 additions and 4 deletions
|
@ -362,8 +362,8 @@ gst_filesrc_map_region (GstFileSrc *src, off_t offset, size_t size)
|
|||
retval = madvise(GST_BUFFER_DATA(buf),GST_BUFFER_SIZE(buf),MADV_SEQUENTIAL);
|
||||
#endif
|
||||
/* fill in the rest of the fields */
|
||||
GST_BUFFER_FLAG_SET(buf) = GST_BUFFER_READONLY;
|
||||
GST_BUFFER_FLAG_SET(buf) = GST_BUFFER_ORIGINAL;
|
||||
GST_BUFFER_FLAG_SET(buf, GST_BUFFER_READONLY);
|
||||
GST_BUFFER_FLAG_SET(buf, GST_BUFFER_ORIGINAL);
|
||||
GST_BUFFER_SIZE(buf) = size;
|
||||
GST_BUFFER_MAXSIZE(buf) = size;
|
||||
GST_BUFFER_OFFSET(buf) = offset;
|
||||
|
|
|
@ -362,8 +362,8 @@ gst_filesrc_map_region (GstFileSrc *src, off_t offset, size_t size)
|
|||
retval = madvise(GST_BUFFER_DATA(buf),GST_BUFFER_SIZE(buf),MADV_SEQUENTIAL);
|
||||
#endif
|
||||
/* fill in the rest of the fields */
|
||||
GST_BUFFER_FLAG_SET(buf) = GST_BUFFER_READONLY;
|
||||
GST_BUFFER_FLAG_SET(buf) = GST_BUFFER_ORIGINAL;
|
||||
GST_BUFFER_FLAG_SET(buf, GST_BUFFER_READONLY);
|
||||
GST_BUFFER_FLAG_SET(buf, GST_BUFFER_ORIGINAL);
|
||||
GST_BUFFER_SIZE(buf) = size;
|
||||
GST_BUFFER_MAXSIZE(buf) = size;
|
||||
GST_BUFFER_OFFSET(buf) = offset;
|
||||
|
|
Loading…
Reference in a new issue