From 0d6549d8b57aaa5be8efb794154cdbe9a645910f Mon Sep 17 00:00:00 2001
From: Christian Schmidt <schmidt@digadd.de>
Date: Fri, 30 Aug 2013 18:15:44 +0200
Subject: [PATCH] pcm_bluray: rename pcm-mpeg.c to pcm-bluray.c

The original idea was to collect PCM codecs that could appear in various
MPEG streams in this file. Discussion in IRC lead to the conclusion that
one codec per file would be better and stop the need for #ifdefs.
---
 libavcodec/Makefile                     | 2 +-
 libavcodec/{pcm-mpeg.c => pcm-bluray.c} | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
 rename libavcodec/{pcm-mpeg.c => pcm-bluray.c} (99%)

diff --git a/libavcodec/Makefile b/libavcodec/Makefile
index abf0a38cb54..2eba60fe750 100644
--- a/libavcodec/Makefile
+++ b/libavcodec/Makefile
@@ -426,7 +426,7 @@ OBJS-$(CONFIG_ZMBV_ENCODER)            += zmbvenc.o
 # (AD)PCM decoders/encoders
 OBJS-$(CONFIG_PCM_ALAW_DECODER)           += pcm.o
 OBJS-$(CONFIG_PCM_ALAW_ENCODER)           += pcm.o
-OBJS-$(CONFIG_PCM_BLURAY_DECODER)         += pcm-mpeg.o
+OBJS-$(CONFIG_PCM_BLURAY_DECODER)         += pcm-bluray.o
 OBJS-$(CONFIG_PCM_DVD_DECODER)            += pcm.o
 OBJS-$(CONFIG_PCM_F32BE_DECODER)          += pcm.o
 OBJS-$(CONFIG_PCM_F32BE_ENCODER)          += pcm.o
diff --git a/libavcodec/pcm-mpeg.c b/libavcodec/pcm-bluray.c
similarity index 99%
rename from libavcodec/pcm-mpeg.c
rename to libavcodec/pcm-bluray.c
index 7b7afedf6f7..9fbd9df75f9 100644
--- a/libavcodec/pcm-mpeg.c
+++ b/libavcodec/pcm-bluray.c
@@ -1,5 +1,5 @@
 /*
- * LPCM codecs for PCM formats found in MPEG streams
+ * LPCM codecs for PCM format found in Blu-ray PCM streams
  * Copyright (c) 2009, 2013 Christian Schmidt
  *
  * This file is part of Libav.
@@ -21,7 +21,7 @@
 
 /**
  * @file
- * PCM codecs for encodings found in MPEG streams (DVD/Blu-ray)
+ * PCM codec for Blu-ray PCM audio tracks
  */
 
 #include "libavutil/channel_layout.h"
-- 
GitLab