mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-02 14:36:41 +00:00
ffmpegdec: Fix strict aliasing warnings
This commit is contained in:
parent
6923de9378
commit
5497a8d140
1 changed files with 3 additions and 3 deletions
|
@ -1689,10 +1689,10 @@ gst_ffmpegdec_video_frame (GstFFMpegDec * ffmpegdec,
|
|||
|
||||
/* recuperate the reordered timestamp */
|
||||
if (!opaque_find (ffmpegdec,
|
||||
GSIZE_TO_POINTER (*((gsize *) & ffmpegdec->
|
||||
picture->reordered_opaque)), &out_pts, &out_offset)) {
|
||||
(gpointer) (gulong) ffmpegdec->picture->reordered_opaque, &out_pts,
|
||||
&out_offset)) {
|
||||
GST_DEBUG_OBJECT (ffmpegdec, "Failed to find opaque %p",
|
||||
*((gsize *) & ffmpegdec->picture->reordered_opaque));
|
||||
(gpointer) (gulong) ffmpegdec->picture->reordered_opaque);
|
||||
out_pts = -1;
|
||||
out_offset = GST_BUFFER_OFFSET_NONE;
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue