Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --- squeezeslave/src/slimaudio/slimaudio_decoder_aac.c 2012-09-29 22:15:39.994264503 -0400
- +++ squeezeslave.new/src/slimaudio/slimaudio_decoder_aac.c 2012-10-27 16:25:32.745423407 -0400
- @@ -176,13 +176,15 @@
- else
- {
- DEBUGF("aac: probe ok name:%s lname:%s\n", pAVInputFormat->name, pAVInputFormat->long_name);
- - pAVInputFormat->flags |= AVFMT_NOFILE;
- + //pAVInputFormat->flags |= AVFMT_NOFILE;
- }
- - AVFormatContext* pFormatCtx;
- + AVFormatContext *pFormatCtx = avformat_alloc_context();
- AVCodecContext *pCodecCtx;
- - iRC = av_open_input_stream(&pFormatCtx, AVIOCtx, "", pAVInputFormat, NULL);
- + //iRC = av_open_input_stream(&pFormatCtx, AVIOCtx, "", pAVInputFormat, NULL);
- + pFormatCtx->pb = AVIOCtx;
- + iRC = avformat_open_input(&pFormatCtx, "", pAVInputFormat, NULL);
- if (iRC < 0)
- {
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement