summaryrefslogtreecommitdiff
path: root/ffmpeg_backend.cpp
diff options
context:
space:
mode:
authorFox Caminiti <fox@foxcam.net>2022-10-20 20:45:37 -0400
committerFox Caminiti <fox@foxcam.net>2022-10-20 20:45:37 -0400
commit7804c6a96d26c2e757d09f1864eb73fb81eb280f (patch)
tree0b8e3f1b6f8a6fdf79fb5ae51844f269e47d5959 /ffmpeg_backend.cpp
parent0b0aa3b06fac0bcdeb31d5e2211d1ba149531692 (diff)
precomp recursion!
Diffstat (limited to 'ffmpeg_backend.cpp')
-rw-r--r--ffmpeg_backend.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ffmpeg_backend.cpp b/ffmpeg_backend.cpp
index b986d7a..a54fb51 100644
--- a/ffmpeg_backend.cpp
+++ b/ffmpeg_backend.cpp
@@ -125,7 +125,7 @@ void AV_Init(block_source *Source, av_info *AV, memory *Memory)
// The two calls below theoretically shouldn't fail since we already tested them in IsFileSupported.
AV->FileFormatContext = avformat_alloc_context();
- char *Path = (char *)Memory_Block_AddressAtIndex(Memory, F_Strings, Source->Block_String_Index);
+ char *Path = (char *)Memory_Block_AddressAtIndex(Memory, F_Strings, Source->Path_String_Index);
err = avformat_open_input(&AV->FileFormatContext, Path, NULL, NULL);;
if (err < 0) {
fprintf(stderr, "Libav error: (%s)\n", av_err2str(err));