diff options
-rw-r--r-- | src/gallium/drivers/nouveau/nouveau_video.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/nouveau/nouveau_video.c b/src/gallium/drivers/nouveau/nouveau_video.c index 8795c9d3bc2..bd0462542f3 100644 --- a/src/gallium/drivers/nouveau/nouveau_video.c +++ b/src/gallium/drivers/nouveau/nouveau_video.c @@ -553,7 +553,7 @@ nouveau_create_decoder(struct pipe_context *context, &mpeg); if (ret < 0) { debug_printf("Creation failed: %s (%i)\n", strerror(-ret), ret); - return NULL; + goto fail; } dec->mpeg = mpeg; |