Skip to content

Commit

Permalink
VideoPlayer: dxva - fix return value of Decode
Browse files Browse the repository at this point in the history
  • Loading branch information
FernetMenta authored and popcornmix committed Jan 18, 2016
1 parent 4b3d7b7 commit c959e57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xbmc/cores/VideoPlayer/DVDCodecs/Video/DXVA.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1004,7 +1004,7 @@ int CDecoder::Decode(AVCodecContext* avctx, AVFrame* frame)
return VC_BUFFER;
}
else
return 0;
return VC_BUFFER;
}

bool CDecoder::GetPicture(AVCodecContext* avctx, AVFrame* frame, DVDVideoPicture* picture)
Expand Down

0 comments on commit c959e57

Please sign in to comment.