mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-18 21:35:44 +00:00
schrodec: remove unnecessary check
The tag was dereferenced earier. From the libschroedinger code, it's not obvious to see whether tag and frame would be NULL at the same time. I think is likely that both will be non NULL here, but that's not certain. Additional tests may be needed to avoid dereferencing tag and/or frame, but what to do if only one is NULL isn't obvious, as the _get_tag function does transfer ownership so isn't undoable. Coverity 1139850
This commit is contained in:
parent
88879654df
commit
956be9a018
1 changed files with 1 additions and 2 deletions
|
@ -498,8 +498,7 @@ gst_schro_dec_process (GstSchroDec * schro_dec, gboolean eos)
|
|||
|
||||
schro_frame_unref (schro_frame);
|
||||
}
|
||||
if (tag)
|
||||
schro_tag_free (tag);
|
||||
schro_tag_free (tag);
|
||||
if (!eos) {
|
||||
go = FALSE;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue