Skip to content

Commit 273c9a0

Browse files
Merge pull request #116 from developer0hye/patch-1
fix a typo "to allocated" ->"to allocate"
2 parents c2085e2 + 2d5a66c commit 273c9a0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

0_hello_world.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,14 +159,14 @@ int main(int argc, const char *argv[])
159159
AVFrame *pFrame = av_frame_alloc();
160160
if (!pFrame)
161161
{
162-
logging("failed to allocated memory for AVFrame");
162+
logging("failed to allocate memory for AVFrame");
163163
return -1;
164164
}
165165
// https://ffmpeg.org/doxygen/trunk/structAVPacket.html
166166
AVPacket *pPacket = av_packet_alloc();
167167
if (!pPacket)
168168
{
169-
logging("failed to allocated memory for AVPacket");
169+
logging("failed to allocate memory for AVPacket");
170170
return -1;
171171
}
172172

0 commit comments

Comments
 (0)