Revision e4445e9c libavcodec/g729dec.c

View differences:

libavcodec/g729dec.c
224 224
        av_log(avctx, AV_LOG_DEBUG, "Packet type: %s\n", "G.729D @ 6.4kbit/s");
225 225
    } else {
226 226
        av_log(avctx, AV_LOG_ERROR, "Packet size %d is unknown.\n", buf_size);
227
        return (AVERROR_NOFMT);
227
        return AVERROR_INVALIDDATA;
228 228
    }
229 229

  
230 230
    for (i=0; i < buf_size; i++)

Also available in: Unified diff