summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/mpeg.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mpeg.c b/src/mpeg.c
index fb6591a..a48f5bb 100644
--- a/src/mpeg.c
+++ b/src/mpeg.c
@@ -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;
}