diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2016-11-04 14:29:32 +0100 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2016-11-04 14:29:32 +0100 |
commit | fde78e58eb3c48135b6d96680fca7eb3d617f940 (patch) | |
tree | c3e91194637944c1e9f42113f84d518eaf89bfd5 /src | |
parent | 7604a3fbd99ec617274f77ecdd0a098abdb33f06 (diff) | |
download | dabmux-fde78e58eb3c48135b6d96680fca7eb3d617f940.tar.gz dabmux-fde78e58eb3c48135b6d96680fca7eb3d617f940.tar.bz2 dabmux-fde78e58eb3c48135b6d96680fca7eb3d617f940.zip |
Change check priorities of checkDabMpegFrame
The function should anyway return something else than an enumeration...
Diffstat (limited to 'src')
-rw-r--r-- | src/mpeg.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -233,15 +233,15 @@ int checkDabMpegFrame(void* data) { if (header->padding != 0) { return MPEG_PADDING; } + if (header->emphasis != 0) { + return MPEG_EMPHASIS; + } if (header->copyright != 0) { return MPEG_COPYRIGHT; } if (header->original != 0) { return MPEG_ORIGINAL; } - if (header->emphasis != 0) { - return MPEG_EMPHASIS; - } return -1; } |