On Tue, 26 Jun 2012, Luca Barbato wrote:

---
libavformat/flvenc.c |  146 +++++++++++++++++++++++++++-----------------------
1 files changed, 79 insertions(+), 67 deletions(-)

diff --git a/libavformat/flvenc.c b/libavformat/flvenc.c
index 62756a1..8f99a7e 100644
--- a/libavformat/flvenc.c
+++ b/libavformat/flvenc.c
@@ -81,16 +81,16 @@ static int get_audio_flags(AVFormatContext *s, 
AVCodecContext *enc)
        }
        return FLV_CODECID_SPEEX | FLV_SAMPLERATE_11025HZ | 
FLV_SAMPLESSIZE_16BIT;
    } else {
-    switch (enc->sample_rate) {
+        switch (enc->sample_rate) {
        case    44100:
            flags |= FLV_SAMPLERATE_44100HZ;
-            break;
+        break;

You're still moving the breaks that were placed just fine before.

// Martin
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to