i call av_seek_frame do seek work when i play flac format, but it always
return -1(failed). is someone got this?
seek code list below:
int ret = av_seek_frame(state.pFmtCtx, -1, timestamp * AV_TIME_BASE, 0);
if(ret >= 0)
    avcodec_flush_buffers(state.pCodecCtx);

those code work on mp3, wav, wma, aac, tta, wv, ape, mpc, ogg formats, but
flac fotmat does not.
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to