Commit 9fd2b21
[RT Common] Fix error handling in mfxDefaultAllocatorVAAPI::AllocFramesHW
Modified AllocFramesHW to properly capture and propagate error status
from CheckAndDestroyVAbuffer during cleanup of allocated VA buffers.
This ensures error conditions during cleanup are properly reported to
callers, and avoids early exits when error is met before destroying all
allocated buffers.1 parent 8483641 commit 9fd2b21
1 file changed
Lines changed: 6 additions & 1 deletion
File tree
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
439 | 439 | | |
440 | 440 | | |
441 | 441 | | |
| 442 | + | |
442 | 443 | | |
443 | 444 | | |
444 | 445 | | |
445 | | - | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
446 | 450 | | |
| 451 | + | |
447 | 452 | | |
448 | 453 | | |
449 | 454 | | |
| |||
0 commit comments