Skip to content

Commit

Permalink
flvmux: Fix off-by-one in month/day-of-the-week array
Browse files Browse the repository at this point in the history
  • Loading branch information
sdroege authored and amberik1 committed Dec 19, 2024
1 parent bfe60d9 commit d1f6cb2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions subprojects/gst-plugins-good/gst/flv/gstflvmux.c
Original file line number Diff line number Diff line change
Expand Up @@ -1183,10 +1183,10 @@ gst_flv_mux_create_metadata (GstFlvMux * mux)
GDateTime *now;
gchar *s;
static const gchar *weekdays[] = {
"Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"
NULL, "Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"
};
static const gchar *months[] = {
"Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul",
NULL, "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul",
"Aug", "Sep", "Oct", "Nov", "Dec"
};

Expand Down

0 comments on commit d1f6cb2

Please sign in to comment.