changeset 5259:3f48ee403351 libavcodec

set sample rate in more logical place, kill warning
author mru
date Sun, 08 Jul 2007 23:15:10 +0000
parents 4372aeade5dc
children d623b3171830
files mpegaudio_parser.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mpegaudio_parser.c	Sun Jul 08 23:15:08 2007 +0000
+++ b/mpegaudio_parser.c	Sun Jul 08 23:15:10 2007 +0000
@@ -146,9 +146,9 @@
                         s->frame_size = -1;
                     }
 #endif
-                }
                 if(s->header_count > 1)
                     avctx->sample_rate= sr;
+                }
             }
         } else
 #if 0