Mercurial > libavcodec.hg
comparison apedec.c @ 10638:40ff9c7958da libavcodec
100l trocadero: call emms_c() after doing decoding with SIMD in APE decoder
author | kostya |
---|---|
date | Fri, 04 Dec 2009 08:18:13 +0000 |
parents | 54982e4c4478 |
children | 4e0b0c0cb915 |
comparison
equal
deleted
inserted
replaced
10637:afd44c3040f5 | 10638:40ff9c7958da |
---|---|
863 | 863 |
864 if ((s->channels == 1) || (s->frameflags & APE_FRAMECODE_PSEUDO_STEREO)) | 864 if ((s->channels == 1) || (s->frameflags & APE_FRAMECODE_PSEUDO_STEREO)) |
865 ape_unpack_mono(s, blockstodecode); | 865 ape_unpack_mono(s, blockstodecode); |
866 else | 866 else |
867 ape_unpack_stereo(s, blockstodecode); | 867 ape_unpack_stereo(s, blockstodecode); |
868 emms_c(); | |
868 | 869 |
869 if(s->error || s->ptr > s->data_end){ | 870 if(s->error || s->ptr > s->data_end){ |
870 s->samples=0; | 871 s->samples=0; |
871 av_log(avctx, AV_LOG_ERROR, "Error decoding frame\n"); | 872 av_log(avctx, AV_LOG_ERROR, "Error decoding frame\n"); |
872 return -1; | 873 return -1; |