Eliminate some pointer dereferences through use of intermediate variables.
Avoid an unnecessary cast.
Replace AV_QSV_CHECK_RESULT with simple error checks.
Remove AV_QSV_PRINT_RET_MSG macro.
Merge pull request #5 from DonDiego/qsv

more refactoring