mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
mxf: fix MP2 case
Testing mpegversion when mpegaudioversion was likely meant. Similar tests in sys/androidmedia/gstamcaudiodec.c also test mpegaudioversion with the same conditional code. Coverity 206071
This commit is contained in:
parent
7659f3bec4
commit
60d7e45cab
1 changed files with 1 additions and 1 deletions
|
@ -988,7 +988,7 @@ mxf_mpeg_audio_get_descriptor (GstPadTemplate * tmpl, GstCaps * caps,
|
|||
|
||||
if (layer == 1)
|
||||
md->spf = 384;
|
||||
else if (layer == 2 || mpegversion == 1)
|
||||
else if (layer == 2 || mpegaudioversion == 1)
|
||||
md->spf = 1152;
|
||||
else
|
||||
md->spf = 576; /* MPEG-2 or 2.5 */
|
||||
|
|
Loading…
Reference in a new issue